views:

295

answers:

0

Is there a version of the standard DreamWeaver MM_validateForm JavaScript function that takes into consideration pre-populated titles-as-values of form fields? Such as

<input type="text" name="fname" value="Enter your first name" />

which is displayed in a lighter grey color or something. Since this value is already filled, the validation routine passes, which is not correct. How do I fix this?

I don't use DreamWeaver much, so I don't know where to look exactly.