Reply to Re: Error trapping in Perl-generated page

Your name:

Reply:


Posted by Ed Jay on 11/14/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)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация