Buttons verses Hyperlinks - InfoPath Dev
in

InfoPath Dev

Buttons verses Hyperlinks

Last post 07-16-2007 06:16 AM by Bill . 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 07-16-2007 05:26 AM

    • Bill
    • Top 200 Contributor
      Male
    • Joined on 09-26-2006
    • USA
    • Posts 57

    Buttons verses Hyperlinks

    Good Morning:

    I have a very long InfoPath form and I want to do the following:

    By eithering clicking a button or clicking a hyperlink, I want to jump to a different section of my form.  I can not seem to figure out how to accomplish this.  When I use the hyperlink option it brings up an About:blank IE page.  When I use a button control with the on click event I do not know how to set the focus to a label or field that would advance the user to that section of the form.

     Does anyone have any ideas on how to accomplish this task??

    Thanks!

     Bill 

     

     

    William L Fringer
    Database Administrator/Systems Integration Specialists

    L & S Associates, Inc.
    Michigan State University Corporate Research Park

    1-800-766-6185, ext 2076
  • 07-16-2007 05:55 AM In reply to

    Re: Buttons verses Hyperlinks

    Hey Bill, Thats a great question. 

    I think standard practice would be to break up your form into multiple views or sections. Then you could use buttons to switch to other views.  Another option is to put your controls into sections and then hide / unhide these sections as neccessary (colapse / uncollapse).  You also can tailor your tab properties to how you tab through your fields.

    Typically I would make my form process multi-part and use views and a continue button or set up a menu /  navigation view initially to let them choose which section to go to. This is usually preferabl to users instead of scrollling through a long form page.  You can implement your navigation buttons on the top and mimic a tabbed application or allow them to quickly view it page by page instead.

  • 07-16-2007 06:00 AM In reply to

    • Bill
    • Top 200 Contributor
      Male
    • Joined on 09-26-2006
    • USA
    • Posts 57

    Re: Buttons verses Hyperlinks

    If I break my form up into multiple views, will it slow down the loading of my form.  Currently, using one long form, seemed to be the fastest way to load the form so that all the form validation is limited.  Now, if I have misunderstood this concept, please let me know.

    Thanks!

    PS:  Do you know the code to put behind the onlick event to advance the focus to a different section (either a label or a field)? 

     

     

    William L Fringer
    Database Administrator/Systems Integration Specialists

    L & S Associates, Inc.
    Michigan State University Corporate Research Park

    1-800-766-6185, ext 2076
  • 07-16-2007 06:12 AM In reply to

    Re: Buttons verses Hyperlinks

    I am not aware nor have heard of any performance difference regarding views.  InfoPath loads and renders everything up front either way.

     I do not have an example fo code for changing focus you would have to do a search for that.

  • 07-16-2007 06:16 AM In reply to

    • Bill
    • Top 200 Contributor
      Male
    • Joined on 09-26-2006
    • USA
    • Posts 57

    Re: Buttons verses Hyperlinks

    Thanks for your help.  I will keep looking for that code and post the example if I find it.
    William L Fringer
    Database Administrator/Systems Integration Specialists

    L & S Associates, Inc.
    Michigan State University Corporate Research Park

    1-800-766-6185, ext 2076
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.