Set MINIMUM Character on TextBox Field - InfoPath Dev
in

InfoPath Dev

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: Previous Next
  • 02-02-2009 12:00 PM

    Set MINIMUM Character on TextBox Field

    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:
  • 02-02-2009 09:36 PM In reply to

    Re: Set MINIMUM Character on TextBox Field

     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.

    Swathip
    www.ggktech.com
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.