Hello,
>
> [-
> %idat_ori = %idat;
> foreach $llave (keys %idat) {
> delete $idat{$llave};
> }
> -]
The following is shorter:
[- %idat = () -]
> I need to backup %idat or only if I need in other code at end of file ?
>
You don't need to backup %idat.
Gerald
---
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 :
.
[$ hidden $]
[-
%idat_ori = %idat;
foreach $llave (keys %idat) {
delete $idat{$l