English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How can i set some of my form field as required so people won't be able to send the form when the required fields are empty? Please help. I'm using a PHP script i got from my web host.

2007-10-24 19:10:06 · 2 answers · asked by jen_0906 2 in Computers & Internet Programming & Design

2 answers

Try using If else conditions... or put some javascript functions...

2007-10-24 19:25:18 · answer #1 · answered by John 2 · 0 0

Three options:
1. Write a "webbot" javascript that will verify the form before it submits it to the PhP script receiving it. It will return to the incorrect fields.
2. Get the whole form to your PhP receiver, and, if the fields are incorrect, re-send the form with an error message.
3. Send me your form AND your PhP receiver, I'll do it for you!
(jrc@skytargets.com)

2007-10-25 05:08:41 · answer #2 · answered by just "JR" 7 · 0 0

fedest.com, questions and answers