PDA

View Full Version : Verifying Form Fields ??



jtesp
August 7th, 2003, 07:54 PM
Hello...I know nothing about PHP, ASP, CFM, etc. Is it necessary to use PHP, ASP, etc to verify form fields? Like a telephone number field can't have letters, or if a field is left blank, there will be a pop up or warning when the user clicks submit.
Anybody know of a simple way for me to get this done?
Thanks!

Jubba
August 7th, 2003, 07:56 PM
javascript

jtesp
August 7th, 2003, 07:57 PM
wow, that was quick! do you have a link by any chance to a good one?

Jubba
August 7th, 2003, 07:58 PM
http://www.google.com/search?hl=en&ie=utf-8&oe=utf-8&q=javascript+form+validation

jtesp
August 7th, 2003, 08:00 PM
haha thanks...
I typed in: verifying form fields javascript
and got this-
http://www.google.com/search?q=verifying+form+fields+javascript&hl=en&lr=&ie=UTF-8&oe=UTF-8&newwindow=1&safe=off

your search definition was much better...thanks!

abzoid
August 7th, 2003, 08:06 PM
If you use Dreamweaver, get the javascript form validation behavior extension by Yaromat. It's far better than the one built into DW.

http://www.yaromat.com/

Jubba
August 7th, 2003, 08:09 PM
good call :thumb: thanks abz ;)

jtesp
August 7th, 2003, 08:10 PM
wow cool! I'll have to try that abziod. Thanks guys!!!

jtesp
August 7th, 2003, 10:09 PM
Thanks a million abzoid! That works great and is very simple! WooHoo!

abzoid
August 7th, 2003, 11:05 PM
no charge ;)

eyezberg
August 8th, 2003, 02:08 AM
Be more precise in your questions, coz if this had been Flash-related, then it would've been very easy to do it all in Flash MX, Macromedia even included a validation library in DRK 3 which has all the usuall routines for email, zip, credit card etc..
Then, you could've given immediate feedback if a form field has changed and looses focus...