cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jdriele
Level 8

Form swith to edit/new before saving

Hello,

For some technical and UX reason, I have to control if my Form is for a new item or not. The control is easy. But how to set the form to new/edit.

On a time, or on a button such thing does not work :

 

 

If(CountRows(Gallery2.AllItems)=0,NewForm(Form2),EditForm(Form2));SubmitForm(Form2)

 

 

 

Do you have any idea ? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Jdriele
Level 8

Re: Form swith to edit/new before saving

Due to my UX constraint, Title field was hidden and generates my errors... 

View solution in original post

1 REPLY 1
Highlighted
Jdriele
Level 8

Re: Form swith to edit/new before saving

Due to my UX constraint, Title field was hidden and generates my errors... 

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,992)