Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

client side regex validation

I'm having trouble with this regex:

regex = "/^[a-z]+ [a-z ,.'-]+$/i"

This is never true client side but if I disable js validation with

$form->js_validation = false;

it works as expected on the server side.

Comments

Sign In or Register to comment.