|
Posted by Ed Jay on 11/06/75 11:31
Guillaume <nospam@nospam.com> wrote:
>Ed Jay:
>> 1. How can I either test the error while still on Page 1?
>
>Javascript
>
>> 2. How do I test for the Page 1 error on Page 2 and automatically return
>> the op to Page 1 for corrections?
>
>Redirect (set the appropriate headers + eventualy javascript code)
Understood; however, I either have to regenerate Page 1 with a new error
message, or stop at Page 2 with the error message and then resubmit to
Page 1 with all the 'good' variables intact and figure out how to
check/uncheck checkbox buttons on Page 1.
I may have figured an easy solution explained in my very recent post in
response to mbstevens, i.e., print the error message on Page 2 and use
javascript to return the guy to Page 1 as held in the cache. The only
issue I see with this method is unchecking the checkboxes or radio buttons
that were incorrectly checked.
--
Ed Jay (remove M to respond by email)
Navigation:
[Reply to this message]
|