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 / Make the attachments f...
Power Apps
Answered

Make the attachments field mandatory

(0) ShareShare
ReportReport
Posted on by 361

I need to make the "Attachments" field mandatory in the form, but I can't make this field mandatory in the Share Point list, so I thought of putting a condition on the "send" button... but I don't know how to do it, any ideas?

Joaoandrebs_1-1679059766905.png

 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Joaoandrebs ,

    Follow these steps -

    1. You need to select 'Attachment' Data Card and Unlock it

    swaminawale_0-1679060760956.png

     

    2. Go to its 'Required' Property and change the value from 'False' to 'True'

    swaminawale_1-1679060823820.png

     

    Additionally, to validate the form to make sure all required fields are filled, I wrote this formula on 'Submit' button. 

     

    If(
     Form1.Valid,
     DisplayMode.Edit,
     DisplayMode.Disabled
    )

    swaminawale_2-1679060946875.png

     

    Let me know if this works and Please mark as a solution so that anyone's having similar question, they'll get it 😄

     

  • Anchov Profile Picture
    1,986 on at

    The easiest way to make the attachment fields required is to set the Required property of the Attachments data card to true.  

    1. First Unlock the Attachments card.

    Anchov_0-1679061041531.png

    2. Set the Required property to true.

    Anchov_1-1679061099765.png

    3. Now if you try to submit form without attachment you will get a validation error.

    Anchov_2-1679061141916.png


    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers!
    Rick Hurt

  • Mocanui Profile Picture
    2 on at

    I have a different problem with Sharepoint app, because the attachment is required in web but not in app.

    What can be done?

    Mocanui_0-1707987350950.png

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 96 Super User 2026 Season 1

Last 30 days Overall leaderboard