cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mays
Level: Powered On

New form mode changing the gallery.selected

Dears,

I have a form with item gallery.selected ,this form contain edit button and new button,

changing between the form modes with variable,the problem is when i press the submit button for a new form the page goes to the gallery.selected ,I tried to change it with variable but didn't work ,any idea?

Set(EmpProfileVar,FormMode.New);Navigate(PersonalInfoForm,ScreenTransition.Cover)
SubmitForm(PersonalInfoForm);SubmitForm(AddressInfoForm);Set(EmpProfileVar,FormMode.View);
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
panand99
Level 10

Re: New form mode changing the gallery.selected

Hi @Mays 

 

you can use the "If" condition on "onSuccess" event of the form to navigate between the screens.

 

 


@Mays wrote:

Dears,

I have a form with item gallery.selected ,this form contain edit button and new button,

changing between the form modes with variable,the problem is when i press the submit button for a new form the page goes to the gallery.selected ,I tried to change it with variable but didn't work ,any idea?

Set(EmpProfileVar,FormMode.New);Navigate(PersonalInfoForm,ScreenTransition.Cover)
SubmitForm(PersonalInfoForm);SubmitForm(AddressInfoForm);Set(EmpProfileVar,FormMode.View);


@Mays wrote:

Dears,

I have a form with item gallery.selected ,this form contain edit button and new button,

changing between the form modes with variable,the problem is when i press the submit button for a new form the page goes to the gallery.selected ,I tried to change it with variable but didn't work ,any idea?

Set(EmpProfileVar,FormMode.New);Navigate(PersonalInfoForm,ScreenTransition.Cover)
SubmitForm(PersonalInfoForm);SubmitForm(AddressInfoForm);Set(EmpProfileVar,FormMode.View);

 

1 REPLY 1
Highlighted
panand99
Level 10

Re: New form mode changing the gallery.selected

Hi @Mays 

 

you can use the "If" condition on "onSuccess" event of the form to navigate between the screens.

 

 


@Mays wrote:

Dears,

I have a form with item gallery.selected ,this form contain edit button and new button,

changing between the form modes with variable,the problem is when i press the submit button for a new form the page goes to the gallery.selected ,I tried to change it with variable but didn't work ,any idea?

Set(EmpProfileVar,FormMode.New);Navigate(PersonalInfoForm,ScreenTransition.Cover)
SubmitForm(PersonalInfoForm);SubmitForm(AddressInfoForm);Set(EmpProfileVar,FormMode.View);


@Mays wrote:

Dears,

I have a form with item gallery.selected ,this form contain edit button and new button,

changing between the form modes with variable,the problem is when i press the submit button for a new form the page goes to the gallery.selected ,I tried to change it with variable but didn't work ,any idea?

Set(EmpProfileVar,FormMode.New);Navigate(PersonalInfoForm,ScreenTransition.Cover)
SubmitForm(PersonalInfoForm);SubmitForm(AddressInfoForm);Set(EmpProfileVar,FormMode.View);

 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 197 members 4,505 guests
Please welcome our newest community members: