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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error Message for Comb...
Power Apps
Answered

Error Message for Combobox

(0) ShareShare
ReportReport
Posted on by 20

I have a combobox that is connected to a sharepoint list (Person column) but some users, when filling out the app, write their name and do not select it in the combobox search engine. I want to know if you can make a formula so that an error message appears if you do not select your name within the search engine (combobox), if possible I would appreciate if you could share it with me to place in the error message.

 
 

Here i can see my user in the company

 

 

 

But in this image, i could write my name and i have no idea how to get an error message to notify the user that its wrong

 

User text.png

Thanks,

Categories:
  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @Alonso_96 
    You can write a conditional IF statement like this to check if the Combobox has a selection.  If no, an error message with instructions will be displayed at the top of the screen.

     

    If(
     IsBlank(ComboBox1.Selected),
     Notify("You must select your name in the combobox"),
     SubmitForm(Form1)
    )

     

    ---
    Please click "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."

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard