On Tue, 21 Mar 2006 23:06:29 -0500, Sergej Zoubok wrote:
Hi Sergej
> OK, I've been banging my head against this problem long enough.
> Hopefully someone can help.
Help fix the problem or help bang your head :-)).
> if ( $q->param('submit') eq 'Go Back' ) {
> return $self->step1_app_type();
> The problem arises when I use a "Go Back" button to return to a
> previous page. The form does display with the fields properly
> filled out with the info I submitted earlier (thanks to ValidateRM)
> but if I resubmit the form with new data, the old data sticks; I
> cannot change my previous entries.
Are you saying the new data is displayed on the form but the old data is
submitted? Sorry, but I don't believe that!
> I suspect that this is the result of the infamous sticky parameter
Perhaps the stickiness, if it's actually happening, applies to the submit
button. Dump out the data submitted and examine the value for the submit button.
HTTPSniffer (in Perl) from http://schmerg.pwp.blueyonder.co.uk/ is one way to do
this.
Another way would be to change the submit button to call a JS function which
uses 'alert' to display a field. That'll tell you what's being submitted.
--
Ron Savage
suppressed
http://savage.net.au/index.html
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.