Hi, please help me those question
1. Can we set a button for active attachment file. (I dont want to show the Attachment Box, because the editor is able to delete the other attached file)
2. Can we set Attachment Box is only accept to attach image file or take a photo from camera. Thanks
Go to Solution.
Hi @Phu_Le ,
1)I'm afraid it's not supported to use a button to attach file to the attachment field currently.
You could only use attachment control to make this.
2)I suggest you set the attachment control's OnRemove property.
Here's my test for your reference:
Set the attachment control's OnAddFile: Set(test,"Yes")
Set the submit button's OnSelect:
If(test="No",Notify("you can't delete attached file",NotificationType.Warning),SubmitForm(Form1))
Then, if you delete the attached file, the form can't be submitted.
What's more, here's a similar idea that posted by other users, you could vote for him:
Community Support Team _ Phoebe Liu
View solution in original post
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.