Hello,

        I have two forms in a page.

        What is the correct method for reset the fields
from %idat for the next form take all fields ?

         I put this code and works fine :

<form name="frm_1" method="post"  target="_self">
.....
[$ hidden $]

</form>

....

  [-
  %idat_ori = %idat;
  foreach $llave (keys %idat) {
    delete $idat{$llave};
  }
-]
<form name="frm_2" method="post"  target="_self">
...
[$ hidden  $]
</form>
[-
  %idat= %idat_ori;
-]

That is ok ?
I need to backup %idat or only if I need in other code at end of file ?

thanks in adavnce ....


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to