![Picture of Vassili Gorshkov Picture of Vassili Gorshkov](/graphics/unknown.gif)
Vassili Gorshkov - 2007-02-19 20:37:14
Hi,
Sorry for a simple question, but I am trying to put together a form, where some fields may be empty depnding on the value of other fields. For example,
F1 Sex: ___
F2 Maiden Name (if female): ____
I was considering using a java script custom validation function for F2, but it takes F2's value as an argument. If the whole form was passed to the function, this would be easy. Perhaps, I should just look up the form values from the DOM interface. Does it sound right?
Thanks,
Vas Gorshkov