|
|
| Author |
Message |
|
| bjnortier |
Posted: Fri Nov 02, 2007 9:50 am |
|
|
|
Joined: 30 Aug 2007
Posts: 9
|
Hi
What is the recommended way to validate forms? I have a page,
form.yaws and the values are posted to post.yaws.
I'm able to create a function that validates the posted values, and
does a local redirect when invalid, but then the form is blank again,
and there's no way to provide feedback as to what went wrong.
Is it possible to do a local redirect with state, which the form page
can use to display feedback? Or some other method? I would prefer to
avoid a Javascript solution for the moment..
Thanks in advance!
Benjamin
--
Benjamin Nortier
e: bjnortier@gmail.com
c: +44 (0)778 946 1959
msn: bjnortier@mail.com
gtalk: bjnortier@gmail.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|