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
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);

 

View solution in original post

1 REPLY 1
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);

 

View solution in original post

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,492)