Adding a regular expression to a field on an existing content type, doesn't work. I can add the same regular expression to a new content type field and it works fine. Its almost as if its disabled or ignoring the regular expression on my existing content type.

Comments

g089h515r806’s picture

1, Do you clear the cache?
2, Is there any existing validation rule on this field that on your existing content type?

If there are multiple rule on one field, once a rule set the error message. the others will be skipped

g089h515r806’s picture

I have tested it on my machine, it works for existing content type.

g089h515r806’s picture

Status: Needs work » Closed (fixed)

fixed