List Aggregator App (SPFx)

SharePoint 2013 InfoPath Submit option multiple click issue

SharePoint 2016 InfoPath Submit option multiple click issue

Recently we faced one issue while simply assigning a value to a textbox using a rule in SharePoint 2013 InfoPath form. I have an InfoPath form which has a textbox and a Submit button. In the Submit button, I was trying to set a static value to the textbox. But when I published the form and check in the browser I need to click two times in the Submit button to Submit the form or set the value. The rule usually does not trigger on the first time I clicked on the Submit button. It triggers in the second click.

As you can see in this InfoPath form I have only a textbox and a button. In the button, I have written a rule to set the textbox value to 1 on the button click.

SharePoint deveopment training course
SharePoint 2013 InfoPath Submit option multiple click issue
SharePoint 2013 InfoPath Submit option multiple click issue

Now when I publish the form and click on the Button, for the first time it works fine. It sets the value to 1 at one click only. But next time if I change the value or do something else also, I need to click 2 times then only the rule triggers.

Solution:
The below solution works for me, If you are facing similar kind of issues, you can try the solution also.

What I did is I set the Postback settings to “Never” for the textbox. To do this, go to the textbox properties. Then go to the Browser forms tab and then select “Never” option in the Postback settings. See the fig below:

SharePoint 2016 InfoPath Submit option multiple click issue
SharePoint 2016 InfoPath Submit option multiple click issue

Read some SharePoint InfoPath tutorials:

After this, it worked fine. Hopefully, it will help you.

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 →