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

Demo-Extravaganza 2020

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

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!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,545)