Hello,
I have a static html file with jquery and jquery.validate plugin that
works perfectly until an engineer starts to plug in his code.  The
code is being served up for credit card processing, and we have name,
and expiration fields working and validating correctly. But the Credit
Card field validation fails when he puts  [] inside the name attribute
of the credit card field. The credit card company requires these
brackets inside the name attribute but jquery no longer validates the
field as long as they are present. Remove them and it validates.

Ideas on how to get this field validating?

This does not work:

<input type="button" class="clearme" value="[CLEAR]"
onclick="document.getElementById('ccnumber').value=''" /><input
id="ccnumber" class="textfield  required" name="customer
[payment_method][number]" value="" type="text" maxlength="19"
autocomplete="off" />

This works:

<input type="button" class="clearme" value="Clear"
onclick="document.getElementById('ccnumber').value=''" /><input
id="Text3" class="textfield  required" name="ccnumber" value=""
type="text" />

Thanks,

GulDam

Reply via email to