Hi Ron,
At 3:24 PM +1100 3/22/06, Ron Savage wrote:
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 :-)).
Some days I need help doing anything! :-)
> 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!
No I meant that, for example, when I go back to an earlier page, I
can update a given field but the original data (defined in the value
attribute of the tag) is what sticks. The new data is ignored.
After a good nights sleep, I found at least part of my problem. By
loading my session data into the CGI object in my _get_session
routine, I was overwriting the new form data before. That's the
problem with using too much abstraction/indirection; you occasionally
lose track of what is actually happening and in what order.
Now all I have to do is figure out why the ValidateRM plugin is not
properly filling in my previous radio-buttons...
HTTPSniffer (in Perl) from http://schmerg.pwp.blueyonder.co.uk/ is
one way to do
this.
I'll check this out, thanks! In the meantime, I've added some logging
statments using the LogDispatch plugin to get a better view of the
data flow through my app.
Regards,
Sergej
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]