Can't seem to get DocType property custom validation working
I have a Title property on a specific document type which uses an Umbraco.TextBox property editor.
I am trying to restrict input on that property to a minimum of 6 words by using the Custom validation section of the settings for that property as can be seen below:
No matter what I seem to put into the regex section it always validates as ok and I never see the validation error message.
I've tried all kinds of different regexes and even a simple ^..$ but nothing seems to make any difference.
Presumably I'm missing something pretty simple, can anyone help?
I was missing something, this wasn't working on save but when I click Save and Publish then I started to see the validation error message and now it works when just trying to save.
Can't seem to get DocType property custom validation working
I have a Title property on a specific document type which uses an Umbraco.TextBox property editor.
I am trying to restrict input on that property to a minimum of 6 words by using the Custom validation section of the settings for that property as can be seen below:
No matter what I seem to put into the regex section it always validates as ok and I never see the validation error message.
I've tried all kinds of different regexes and even a simple ^..$ but nothing seems to make any difference.
Presumably I'm missing something pretty simple, can anyone help?
I was missing something, this wasn't working on save but when I click Save and Publish then I started to see the validation error message and now it works when just trying to save.
Maybe there was some kind of caching going on.
is working on a reply...