Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Validate SharePoint Text Box to Limit Number of Words

$
0
0

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.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>