HELP! Multi-forms and making sure fields are filled?
I'm running two different forms on one page.Each form goes to a different place - one form does stuff on a different server and one form does stuff on the same server.
This is being accomplished by using the following script (found here on WebDeveloper)
The first form starts like this:
The second form starts like this:
<form id='form1' name='form1' action="http://www.coolcart.net/shop/coolcart.aspx/starkeepsakes" method='POST'>
There is no submit function in the forms.
<form id='form2' name="form2" method="POST" action="attachscript.php" enctype="multipart/form-data" target='_blank'>
After the two forms are listed, there's one link that processes both forms at the same time when clicked:
Here's the good news: THIS WORKS. This is not the problem.
The problem is my client wants most/all of the content in form2 to be filled out. If the fields are not filled out, then something happened that says in effect "yo. fill that out!"
Which is NOT how the form is told to post.
<input type="submit" name="submit">
So.... Any ideas? The client is FREAKING that "something so simple" (her words, not mine) can't be done.