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 / Making a field mandato...
Power Apps
Answered

Making a field mandatory in power app form

(0) ShareShare
ReportReport
Posted on by 675

Hi,

In the pic given below,I want to make few fields mandatory to be filled by the user.

freshyshreya_0-1631179092128.png

Please help!

Categories:
I have the same question (0)
  • Verified answer
    PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @freshyshreya ,

     

    You can write if condition in the Submit button displaymode like below. 

     

    Submit button DisplayMode : If(IsBlank(YourTextBox.Text) || IsBlank(YourSecondTextBox.Text),DisplayMode.Disable,DisplayMode.Edit)

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • freshyshreya Profile Picture
    675 on at

    Hi @PriyankaGeethik ,

    Actually,I want to add required field validation in the forms,just like in the pic below.

    freshyshreya_0-1631182154261.png

     

     

  • Verified answer
    Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @freshyshreya ,

    I assume that you need a "Non-Required" field as "Required",

    DataCard has a property as Required, If you mark as true then you will get * mark and should be filled in before submit.

    I hope this helps.

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard