web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Required Fields - no e...
Power Apps
Answered

Required Fields - no error message

(0) ShareShare
ReportReport
Posted on by 14

I cannot display error message in Power Apps (4 screen canvas app). I have set fields to required but form still can be submitted with blank fields.

I have also tried making fields required in the SharePoint list - I have removed connection and recreated connection. Still nothing.

What can I look at?

I thought this would be a simple task.

I have no logic in any of the fields - I just have set Required = true.

I would expect to see a red error message beneath each field if blank.

Any help is appreciated.

Thanks in advance if anyone can shed a light on what I need to do.

Fitz

 

I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi@Fitz,

    Could you please tell me that if there is a "*" character existing in data card?

    Do you want to pop out a message if there is a blank value for any required fields?

    I have a test on my side and it works well, please make sure that you have successfully set the Required property of the certain data card to be "true".

    21-02-22-01.png

    If you want a error message beneath each field if blank, please inset a Label just below the control.

    Set the Text property of the Label as below:

    "Entry is REQUIRED."

    Set the Visible property of the Label as below:

    If(IsBlank(DataCardValue12.Text),true,false)

    Note: In my scenario, this is for a TextInput control, if you have a combo box or any other controls, please use follows: 

    IsEmpty(ComboBox1.Selected) Or IsBlank(ComboBox1.Selected)

    You should notice that an "Or" operator is necessary between every control validation.

    Regards,

    Qi

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard