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 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
    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

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 739 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 268

Last 30 days Overall leaderboard