cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Community Champion
Community Champion

Parent.error?

What is "parent.error" in regards to form validation? 

 

The default error message that is auto-generated when creating a PowerApp from a Sharepoint form has its Text property set to parent.error. 

 

2018-06-07_9-56-28.png

 

Unfortunately, the parent (Data Card?) has no "error" property

2018-06-07_10-00-03.png

 

And neither does the Form: 

2018-06-07_10-00-29.png

 

Where is the mysterious .error property? I'm also interested in ErrorKind. I see the docs on them but cant seem to find them inside my app anywhere. 

12 REPLIES 12

Hm... did I answer my own question? 

 

Is the " " item being seen by PowerApps as an actual VALUE, whereas a true blank would be seen as NULL and cause the form to error when submitted?

Hm... tested another method by: 

 

Creating a Collection that starts OnVisible: 

 

ClearCollect(colItems,
{item1: " ", 
item2: "Completed", 
item3: "Completed w/ Comments", 
item4: "Exceptions Taken"})

Set the dropdown's Items to colItems. 

 

Still when submitting the form, there is no error. 

 

I then deleted the custom card and added it to the form again. The error message popped right up because the form was in Error State. Hence the original problem:

 

WHAT DOES THE FORM ERROR TRIGGER THAT IS INVISIBLE / CAN'T BE RECREATED ONCE THE ERROR MESSAGE AND STAR ARE DELETED FROM A STOCK DATA CARD? UGH. 🙂

Frequent Visitor

I can't believe it's been 2 years and the best answer is "redo the datacard".

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

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

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,014)