Forum Moderators: coopster

Message Too Old, No Replies

Sticky Form Action

Submit to itself or another

         

mvaz

11:52 am on Nov 14, 2008 (gmt 0)

10+ Year Member



Hello all, Could the experts advise if a sticky form be submitted to a php script that's not itself? If this is possible, will the form work if there is an input error or validation? Which approach would the experts and extensive form users suggest is more user friendly and easy to handle? Any suggestions on this or any other ideas will be highly appreciated - Thanks, Melwyn

henry0

6:18 pm on Nov 14, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A sticky form is a form that retains user input, so it could be served again while retaining good input and highlighting errors or wrong data in any form field.
I do not like using SELF, and always process the input via a second script.
So yes there is no problem to send the input to another script
For ex: formA.php contains the fields
formA action points to formB that checks and validates the input.
There are many ways of making form persistence.
It also works from form-a to form-b when using AJAX.
If you check for form persistence term (or a similar term) here you should find many helps