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

SubmitForm validation

Hi,

 

Has a bug been introduced where SubmitForm causes "An entry is required or has an invalid value" 

 

It works the second time around however this was working a few months ago when I originally created the application. 

 

The Form is connected to a SQL database and editing the app through the web interface. Publishing and testing through iPhone with latest PowerApps.

 

I do not really want to use Patch as there is a heap of controls (Pen, Images, DataControl etc)

 

Cheers

Jeremy

2 REPLIES 2
Highlighted
Helper I
Helper I

Re: SubmitForm validation

A little more information.  I noticed that the EditForm.Valid property was always set to false even when the data was valid. Upon calling SubmitForm the Valid property would switch to true enabling the submit to occur on the second attempt.

 

Just need to know whether there is anything I can do correct this?

 

Cheers

Jeremy

Highlighted
Community Support
Community Support

Re: SubmitForm validation

Hi @jmartin,

 

Please take a try to use the validate function to check the data value, see if there are any special parts missing.

Validate function in PowerApps

 

Further, please take a try with Errors function after the submit function, and save the Error data into a collection, which should be helpful to take a futher investigation on this.

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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