Max number of uploads

How do I set a max number of uploads.

Say for instance, I only want users to upload up to 10 photos, but no more.

My upload field is named 'Photos'


Hello @Viorel ,

what do you use? Could you provide some screenshot/paste your code?
Thank you

Public form.

"Attachments" field.


I would suggest to a bit study documentation: Attachments field — Public web forms

Try to work with change event or HTML element and find a property where is stored the number of files currently inserted/uploaded. Whenever they want to upload, create a function and check the "attachment" field if there are more than 10 files, return error or some message. I hope I helped you a bit :slight_smile:


1 Like

Thank you, Stepan! .

1 Like