WolfgangEdenharder
02-Jul-2007, 07:33 AM
Well, I use the following input fields in my form.
<label for="em">E-mail</label><br />
<input class="form" id="em" name="email" type="text" size="40" /><br />
<label for="tlf">Telefon</label><br />
<input class="form" id="tlf" name="telefon" type="text" size="40" />
None of these two fields are required, but if one or both are filled out, I want to validate the value. How can I do that?
<label for="em">E-mail</label><br />
<input class="form" id="em" name="email" type="text" size="40" /><br />
<label for="tlf">Telefon</label><br />
<input class="form" id="tlf" name="telefon" type="text" size="40" />
None of these two fields are required, but if one or both are filled out, I want to validate the value. How can I do that?