Opening a 2nd form based on option - InfoPath Dev
in

InfoPath Dev

Opening a 2nd form based on option

Last post 04-19-2007 06:18 AM by schung. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 04-18-2007 11:03 AM

    Opening a 2nd form based on option

    I was wondering if it's possible to open up a 2nd infopath form based on selection by the user.  If a user selects an option, i.e., change of address, a new form will pop-up.  Then user complete it & submit.  then return to current first form. 

    Or should I use the view option? 

    Thanks in advance. 

     

     

  • 04-18-2007 11:11 AM In reply to

    Re: Opening a 2nd form based on option

    You can do both, use views or call the NewFromSolution() method to open another form.
    Listen to Motörhead cos they play Rock'n Roll :)
  • 04-18-2007 11:39 AM In reply to

    Re: Opening a 2nd form based on option

    Thank you for quick response
  • 04-18-2007 03:22 PM In reply to

    Re: Opening a 2nd form based on option

    Typically I would go with a view if possible. This is cleaner and simpler.

    you can use a rule action on a button to open another form too.

    For me, there has to be a reason to load another form. if a view works. go with it.

     Performance is another Consideration.

  • 04-18-2007 07:00 PM In reply to

    Re: Opening a 2nd form based on option

    Hi Schung and welcome to our forum,

    If the optional fields (in this case change of address) are truly separate from the original form, you can add a secondary data source that you submit to which updates the address info. You may also want to add a secondary data source that loads the existing address. Jerome (Nukkumati) is right that opening a second form is easy using code. Clay is also right that sometimes it's quicker to create a separate view or conditional section that shows up and submits to a separate data soruce. Lots of options here.

    Patrick Halstead
    Project Manager at Qdabra
  • 04-19-2007 06:18 AM In reply to

    Re: Opening a 2nd form based on option

    Thank you to all.

     schung
     

Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.