Re: Limit Maximum Post Code length ?
I don't even have a copy of 1.3.7 to look at, but you could try pattern matching on the field..
One thing through,
However, this is not what I am looking for. Recently we have a problem with customer registration through spambot
This bot does not use your form! which makes CAPTCHA useless anyway, and any pattern matching..
This is what I use on my postal code. Google search for patterns matching your country needs..
Code:
<?php echo zen_draw_input_field('postcode', '',' id="postcode" title="Your postal code (12345 or 12345-1234)" pattern="^\d{5}(?:[\s]?[-\s][\s]?\d{4})?$" required="required" aria-required="true" '); ?>
Dave
Always forward thinking... Lost my mind!
Bookmarks