PDA

View Full Version : Form validation - list/menu field


helpme
02-20-2006, 03:04 AM
Can someone tell me how to go about putting required field validation on a list/menu field in Dreamweaver?

Thanks!

edbr
02-20-2006, 03:24 AM
If you mean a field that must be filled in
try
<input type=hidden name="required" value="email">

Creative Insanity
02-20-2006, 08:20 AM
Select your form and in behaviours click the option form validation.

helpme
02-20-2006, 04:11 PM
I was able to set my validation for text fields by using Behaviours->Form Validation, but not the list boxes. EDBR's suggestion didn't work either, unless I put it in the wrong place, which is completely possible. I want the validation to take place when the user clicks on the submit button, not when the leave the field.