Set MINIMUM Character on TextBox Field - InfoPath Dev Sign in | Join | Help in Browser Forms InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Browser Forms » Set MINIMUM Character on TextBox Field Set MINIMUM Character on TextBox Field Last post 02-02-2009 09:36 PM by swathip. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 02-02-2009 12:00 PM PumaMan Joined on 02-02-2009 Posts 1 Set MINIMUM Character on TextBox Field Reply Contact Hello, I have a field with a Maximum # of characters set to 16, but I also need to set the MINIMUM # to 16 so the user enters no more, and no less. How can I accomplish this? Thanks! Filed under: character 02-02-2009 09:36 PM In reply to swathip Joined on 10-30-2007 India Posts 487 Re: Set MINIMUM Character on TextBox Field Mark as Not AnswerMark as Answer... Reply Contact Hi, Add a data validation to that text box by using the following expression. string-length(.) < 2 Here 2 is the minimum number of characters to be entered in the text box. Other wise it will show a validation. You can restrict the maximum length using ‘Limit text box to' in display tab. Swathipwww.ggktech.com Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hello,
I have a field with a Maximum # of characters set to 16, but I also need to set the MINIMUM # to 16 so the user enters no more, and no less.
How can I accomplish this?
Thanks!
Add a data validation to that text box by using the following expression.
string-length(.) < 2
Here 2 is the minimum number of characters to be entered in the text box. Other wise it will show a validation. You can restrict the maximum length using ‘Limit text box to' in display tab.