cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jmartin
Level: Powered On

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
jmartin
Level: Powered On

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

Community Support Team
Community Support Team

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
thirdimage

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 183 members 5,448 guests
Please welcome our newest community members: