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 / Make a field required ...
Power Apps
Unanswered

Make a field required for main form but not quick create?

(0) ShareShare
ReportReport
Posted on by 255

Is there a way to make a field required for main form but not quick create? I want to be able to have a field in tasks called "duration" that isnt required. We may not know how long the task will take here. But by time the task is completed, the duration needs to have a value. Any ideas? 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,030 Most Valuable Professional on at

    Hi @ChannelDevMike ,

    The Required property in the Data Card is separate from (and in addition to) any underlying requirement at data source level. It can also be conditional. You can then test for FormName.Valid before saving.

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • ChannelDevMike Profile Picture
    255 on at

    Can you explain this a little more please? Not sure I understand. Where would I put FormName.Valid to test?

  • WarrenBelz Profile Picture
    153,030 Most Valuable Professional on at

    @ChannelDevMike ,

    Before saving (example only)

    If(
     YourFormName.Valid,
     SubmitForm(YourFormName), 
     Notify("YOu have compulsory fields", Error)
    )

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @ChannelDevMike ,

     

    Are you using Model-Driven App?

  • ChannelDevMike Profile Picture
    255 on at

    Yes

  • WarrenBelz Profile Picture
    153,030 Most Valuable Professional on at

    @ChannelDevMike ,

    Then I will step out - I am Canvas only.

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @ChannelDevMike ,

     

    You can achieve this by 2 ways,

    1. Business Rule on Main form to make field required (If this doesn't work then go to 2nd method since that works)

    2. Using JavaScript to keep required on Main form and not on Quick create.

     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard