Open an InfoPath form on Button Click

rss

Posted by pselman - Nov 5 ’15 at 07:06

Hi,

 

I'm wanting to open up a particular Info Path form from a button within a form. Can you advise if this is possible and if so how?

 

Thanks

 

Paul

  • dap53
    Member
    Member for: 7 years 6 months 24 days
    #1 by dap53 Nov 6 ’15 at 10:48

    Instead of using button you can simply add Hyperlink with in the form as we use it for word file. But the link must be of browser based form. Cient based forms will not work.

     

  • rostislav
    rostislav
    Moderator
    Member for: 8 years 22 days
    #2 by rostislav Nov 9 ’15 at 05:26

    [#1]:

    Add a button and add to it the following code (inside the OnClick editor of the button):

    fd.openForm('/Lists/MyList/MyForm.aspx');
    

    or

    fd.openFormInDialog('/Lists/MyList/MyForm.aspx');
    

    subsituting the URL as appropriate.

  • MFatima
    Member
    Member for: 7 years 5 months 26 days
    #3 by MFatima Feb 23 ’16 at 02:23

    Hi,

    I have successfully added a button that opens my link. How can i achieve that it opens the link a new window?

    Thanks,

     

  • rostislav
    rostislav
    Moderator
    Member for: 8 years 22 days
    #4 by rostislav Feb 24 ’16 at 05:40

    [#3]:

    You can use this:

    window.open("/Lists/list/fd_Item_EditForm.aspx?ID=2"); 

    However, whether the page is opened in a new window or tab is up to the user's browser settings. Also, the popup may get blocked by the browser.

  • Goldyy6
    Member
    Member for: 1 year 8 months 17 days
    #5 by Goldyy6 Mar 27 ’23 at 06:40

    Hi! This essay writing service is a great choice for those who need help with their essays. The service provides top-notch quality and timely delivery of your work, say write my speech for me. The writers are knowledgeable and professional, and they provide helpful feedback throughout the process. The customer service team is friendly and efficient, making it easy to get the help you need. I highly recommend this service for anyone looking for quality essay writing assistance.

Displaying 1 to 5 of 5 messages