cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
muralikrishna12
Helper V
Helper V

Clearing all the fields when submitting Edit form Instead of one missing field it shows all the fields and its getting clearing the existing values

Hi Team,

 

we have an issue on Edit form, form is having required fields. when we test with no selecting or entering any value on that required field value, form is getting clearing all the field values like below. here few other column has with values those also getting clearing and displaying like below 

ClearingFields.JPG

but when we try to open form to edit or update its loading all the field values, like below.

Withdata.JPG

when we try to update and submit with no values then clearing the remain fields as well?

what could be the issue here? guessing Issue with form ..?

Or issue with Submit formula..?

here is the Submit button formula

 

If( 
    SubmitForm(EditForm1),Set(SaveStatus,"Saved"),
   Set(SaveStatus,"UnSaved"));
Set(StartID,Text(EditForm1.LastSubmit.ID));

 

 

 

how can we fix this issue "clearing other field values" instead of a only missing fields

 

Please assist me ?

1 REPLY 1
Drrickryp
Super User
Super User

@muralikrishna12 

Just put SubmitForm(EditForm1) in the button. Move everything else to the OnSuccess property of your form.

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (5,612)