cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

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

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (7,065)