I have a validation form that must behave differently based on the results
of a PHP validation check. I have a post command at the top of my form that
calls itself. I don't leave the form when performing the validation check on
the values that were entered into the form, I simply repost the form to
perform the PHP validation. If any of the values that have been entered into
the form are incorrect, I display a warning message on the screen for the
fields that are in error.
This works fine...
However, if all the values that have been entered are "correct" -- I want
the form to open up "another" form without reposting to this same form. So,
after I perform the first post that validates the inputs into the form (by
calling itself) how can I redirect the user to another form if the
validation checks are all successful? What is the syntax for doing this?
Thanks!
of a PHP validation check. I have a post command at the top of my form that
calls itself. I don't leave the form when performing the validation check on
the values that were entered into the form, I simply repost the form to
perform the PHP validation. If any of the values that have been entered into
the form are incorrect, I display a warning message on the screen for the
fields that are in error.
This works fine...
However, if all the values that have been entered are "correct" -- I want
the form to open up "another" form without reposting to this same form. So,
after I perform the first post that validates the inputs into the form (by
calling itself) how can I redirect the user to another form if the
validation checks are all successful? What is the syntax for doing this?
Thanks!
Comment