Adding to Server Validation Behaviour and displaying error messages
I have a situation where I need to add an extra validation rule to the checkout process to prevent customers entering a PO Box number as a shipping address. I have found a regex here: https://gist.github.com/gregferrell/7494667 and I have entered this using the wizard and added a show/hide behaviour to the checkout page and it appears to work BUT the error message does not appear either on blur or after form submit. How does this work ?
Also if you have any feedback on the regex that would be gratefully received.
Site details and ftp in private message.