Thursday, June 28, 2012

Text Box Double Click Issue

Environment
  • SharePoint 2010
  • InfoPath 2010
  • Web Form
Requirements
  • Form had several text boxes
  • Client wanted OneNote type saving, where every time they change a text box, it saves the form
  • I wanted a no-code solution, so it needed to be done using rules
  • Idea was to add a submit rule to each text box
Issue
  • Everytime they would type in a text box, it would take two clicks to get to the next text box
  • They type into a text box, then click on the next text box, the form would post back and focus would not return to the text box on which they clicked, causing them to have to click again
Resolution
  • Turn off Post Back on the text box
  • Edit the properties on the text box
  • Click on the Browser Forms tab
  • Select Never
  • My initial thought is to use this sparingly.

Thanks to this blogpost for the idea

No comments:

Post a Comment