cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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
Skilled Sharer
Skilled Sharer

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
Highlighted
Skilled Sharer
Skilled Sharer

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (12,592)