|
Posted by Jerry Stuckle on 01/28/07 18:54
php newbie wrote:
> I am creating a form Form1.php that posts to the another form
> Form2.php.
>
> I have input validations on the first form. I need the user to go to
> the next form ONLY if the inputs from the user are valid. I have not
> been able figure out how to do this since the first form always posts
> to the next form no matter what.
>
> I would really appreciate if somebody can share their php knowledge
> and give me some idea on how this is done in php.
>
> Thanks
>
Either do validation in the second form, and if it fails, send them back
to the first form. Or, post to the first form and validate there. If
it succeeds, go to the second form.
Either way, you can save data in the $_SESSION for later retrieval.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|