cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Error message visible after submitting form

Hi community,

I'm fairly new at powerapps, so this is probably a problem that is easily solvable for you experts.
I have a simple form with some buttons and checkboxes, which all require to be filled in.  So I required them all to be true and this works fine. I have added a error message. What I want is though that the error message is only visible when the form is submitted but the box is not filled in. 

All help is much appreciated 🙂
Cheers,
Tata

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User III
Super User III

Hi @Anonymous ,

I will call the "Box" MyInput  in the code below.

On the OnSelect of the Save Icon/Button

If(
   isBlank(MyInput),
   Notify("Data not completed",NotificationType.Error),
   SubmitForm(MyForm)
)

 

Please click and accept as Solution if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

 

View solution in original post

1 REPLY 1
WarrenBelz
Super User III
Super User III

Hi @Anonymous ,

I will call the "Box" MyInput  in the code below.

On the OnSelect of the Save Icon/Button

If(
   isBlank(MyInput),
   Notify("Data not completed",NotificationType.Error),
   SubmitForm(MyForm)
)

 

Please click and accept as Solution if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

 

View solution in original post

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

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (31,208)