none
InfoPath 2010 Browser form scrolls to first input field after a postback on field at bottom of form

    Question

  • When a postback occurs as a result of clicking a button to validate fields at the bottom of a long InfoPath 2010 browser form, the form scrolls up to just above a rich text box (containing a linked image) near the top of the form.   This is very annoying to users who must then scroll back down to the bottom of the form to resolve the validation errors and click a button to submit.   It's also interesting to note that the focus remains on the button at the bottom of the form after the postback and the scrolling.   Any ideas as to why the scrolling might be occurring?

    Tuesday, March 22, 2011 1:30 AM

All replies

  • This has been issue with web browser forms and occurs in InfoPath 2007 as well. AFAIK there is no solution to stop scrolling, however, there are workarounds. It is a best practice to minimize the amount of fields presented at one time to the user. Also, elimination of scolling althogether would be ideal. One method to acccomplish this is a tabbed navigation. The steps are outlined in my InfoPath with SharePoint 2010 book but the InfoPath Product Team as a video here: http://blogs.msdn.com/b/infopath/archive/2010/01/07/create-tabbed-navigation-using-picture-button-controls.aspx

    -=Steve

     

    Wednesday, March 30, 2011 12:45 PM
  • Thanks for reply Steve!   Unfortunately with this application, moving to a tabbed navigation design would not work.    In the meantime, I've moved the rich text box containing the linked images to the bottom of the form to remove the postback scrolling.    Not ideal, but it seems there are few choices available for now! 
    Wednesday, March 30, 2011 1:43 PM