Is there a way to conditionally enable the Chronoform (v4) validation if HTML 5 input types aren't supported? I've got Modernizr in my template so can check using javascript but not sure that'll help.
I've got a fairly simple form
I just don't want double validation on the email and telephone fields.
Any suggestions?
I've got a fairly simple form
<fieldset>
<div class="formrow">
<label for="contactname">Name:</label>
<input type="text" name="contactname" id="contactname" placeholder="e.g. John Smith" autofocus />
</div>
<div class="formrow">
<label for="email">Email:</label>
<input type="email" name="email" id="email" placeholder="e.g. john@website.com"/>
</div>
<div class="formrow">
<label for="telephone">Telephone:</label>
<input type="tel" name="telephone" id="telephone" placeholder="e.g. (+44) 1242 573311" />
</div>
<div class="formrow">
<label for="message">Message:</label>
<textarea name="message" id="message" placeholder="Your message in here..."></textarea>
</div>
<div class="formrow">
<input type="submit" name="submit" id="submit" value="submit"/>
</div>
</fieldset>
I just don't want double validation on the email and telephone fields.
Any suggestions?