cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
daroot
Resolver I
Resolver I

Empty Attachments

Hi All,

I got stucked to disable save button if attachments empty on the submit form. What I did is on button DisplayMode = If(IsBlank(AttachmentCard.Text))

Anyone knew how to achieved this, my Attachments is the default SPLists attachment field.

Thanks
1 ACCEPTED SOLUTION

Accepted Solutions
daroot
Resolver I
Resolver I

Solved! Using the IsEmpty instead.

View solution in original post

3 REPLIES 3
daroot
Resolver I
Resolver I

Solved! Using the IsEmpty instead.
Anonymous
Not applicable

Hi, I am trying to disable a send button when the attachment is empty. I tried using IsEmpty but it doesn't seem to work. Button's DisplayMode: If(IsEmpty(Attachments_here.Text))   Any suggestions?

b146357
Frequent Visitor

try this: If(IsEmpty(DataCardValue10.Attachment), Disabled, Edit)

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,802)