I am trying to use validation for the text bos on the SharePoint Add New form to limit number of words entered into the field. Unfortunately solution I have found on stack overflow does not work for me. I have entered
string-length(Status) - string-length(translate(Status, " ", "")) < 10
into validation rule, Status is the name of the text field I want to limit / validate. When I run rule inspector it is showingInvalid Field in red in the Validation area. The rule is not working, is displaying red warning, does not matter what I enter into the field and I cannot save entered data.. What I am doing wrong? What I have to do to have it working ???
Thanks for help.