Setting maxlength to a Infopath Textbox - InfoPath Dev
in

InfoPath Dev

Setting maxlength to a Infopath Textbox

Last post 05-13-2009 10:21 PM by Anuma. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-13-2009 09:26 PM

    Setting maxlength to a Infopath Textbox

    We have a requirement to limit the number of characters entered in a textbox in Infopath form. I am looking for ways in which we can limit the characters and lines entered in the Infopath form.

    Ram.
  • 05-13-2009 10:21 PM In reply to

    • Anuma
    • Top 25 Contributor
      Female
    • Joined on 07-20-2005
    • India
    • Posts 525

    Re: Setting maxlength to a Infopath Textbox

    Hi,

    Add the following validation expression on textfield: string-length(.) > 100

    A newline is counted as 1 char.

    Anuma Chinthapalli /
    http://www.GGKTech.com
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.