Character limits validation in multiline textbox in InfoPath 2013 in SharePoint 2013/2010 or SharePoint Online

Character limits on Multiline Boxes in InfoPath 2013 or 2010

This InfoPath SharePoint tutorial explains, how we can limit characters on multiline textboxes in InfoPath 2013/2010 in SharePoint 2013/2010.

If you are using a single line of textboxes in your InfoPath 2013 form and you want to restrict users to enter a specific number of characters then you can do this by right click on the control and go to properties and you can set the character limits.

SharePoint deveopment training course

But if you make the textbox as multiline then the option to limit the number of characters will not come. But still, you can do this by using the rule in InfoPath forms.

Steps:
Open your InfoPath form using InfoPath 2013 designer and then add a new rule (validation rule) (Select the text box and then from the ribbon click on Home and then Manage Rules). Then set the condition as The expression and then write string-length(.)>500.

Character limits on Multiline Boxes in InfoPath 2013 or 2010
Character limits on Multiline Boxes in InfoPath 2013 or 2010

Now publish the InfoPath 2013 form to SharePoint Online/2013 and if you will enter more than 50 characters then it will show a message like below:

Character limits on Multiline Boxes in InfoPath 2013 or 2010
Character limits on Multiline Boxes in InfoPath 2013 or 2010

You may like following SharePoint InfoPath 2013 tutorials:

Hope this will help to implement character limits validation on Multiline Boxes in InfoPath 2013/2010 in SharePoint 2013/2010.

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →