PiyaPerl has asked for the wisdom of the Perl Monks concerning the following question:
I have a hidden field and its value needs to be changed after after a certain time using perl code. I am using cgi formbuilder to create the form in perl module.
my $operation=$form->field('hiddn'); if($operation eq "delete") { #do operation $form->field(type => 'hidden', name => 'hiddn', value=>'' ); } if($operation eq "insert") { #do operation $form->field(type => 'hidden', name => 'hiddn', value=>'' ); }
But the value is not getting cleared.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Hidden variable in cgi formbuilder
by Anonymous Monk on May 16, 2014 at 09:42 UTC | |
|
Re: Hidden variable in cgi formbuilder
by Anonymous Monk on May 16, 2014 at 09:18 UTC | |
by PiyaPerl (Acolyte) on May 16, 2014 at 09:22 UTC | |
by Anonymous Monk on May 16, 2014 at 09:25 UTC | |
by PiyaPerl (Acolyte) on May 16, 2014 at 09:26 UTC | |
by Anonymous Monk on May 16, 2014 at 09:29 UTC |