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
Helper I
Helper I

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

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
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

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