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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (28,530)