How to open subform on Button Click on Sharepoint form - InfoPath Dev
in

InfoPath Dev

How to open subform on Button Click on Sharepoint form

Last post 09-10-2014 12:19 PM by Umakant Gupta. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 09-04-2014 02:50 PM

    How to open subform on Button Click on Sharepoint form

    Hi.. I am designing a form. On my first form. I have terms and conditions with one combo box (Agree & Not Agree) and OK Button. 1) My challenge is that as user click on OK Button, it should redirect to sub form or another form. 2) on other way, I tried to hide all above the written Terms and Condition. However it didn't on button click. I made a condition that on button that if combo box value would be Agree then submit data and close the form. When I put a hide condition here, the Terms and conditions goes disable on form load. Please help. Thanks. Umakant Gupta.
    Thanks & Regards
    Umakant Gupta
  • 09-05-2014 04:01 PM In reply to

    Re: How to open subform on Button Click on Sharepoint form

     Hi Umakant,

     If I understand you correctly, you want another form to open when the user clicks on an OK button, is that right?  Unfortunately, InfoPath does not allow you to open a new form by clicking a button.  What you can do instead is create a hyperlink image: create an image that looks like a button, and then include a hyperlink on that image that opens the other form.

    You will need a separate button (a real InfoPath button, not an image), however, to close the form.  Unfortunately there is no way to combine these two actions (closing the form, opening another form) into a single click.

    Jennifer Lindsay
    Qdabra® Software/InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

  • 09-09-2014 07:05 AM In reply to

    Re: How to open subform on Button Click on Sharepoint form

    Hi Jennifer, Thanks for your reply. I agree with your reply. Now I am trying to do it another way. Let's say, I have a form. Which has some Consent form on a "Section". One Combo box(Agree/Not Agree) and One Button (Continue). I am able to perform action and produce a error message box when user selects "Not Agree" on the Combo Box. I want when user select "Agree" in combo box, and after clicking the Button(Continue), can the the Consent form in the Section be Hide. Is that possible ? When I put a Rule in the Section "when the Combo Box is equal to "Agree", on the form load as the user selects Agree in Combo box, the Section field gets disable. It seems that it works dynamically. Additionally, i would like to hold the combo Box value (Agree/Not Agree) in a temp variable. And wanted to use it finally when user click on Submit Button. I do not get Developer option in my Infopath 2010 perhaps I am editing the form using SharePoint Designer 2010. Please help. Thanks in Advance. Umakant Gupta
    Thanks & Regards
    Umakant Gupta
    Filed under: , ,
  • 09-10-2014 12:19 PM In reply to

    Re: How to open subform on Button Click on Sharepoint form

    I got to Manager Hide and Un-hide the Section. Can some one help me with holding the value in Temp and submitting the final data when clicking on finally Submit Button.
    Thanks & Regards
    Umakant Gupta
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.