mplodowski / formbuilder-plugin-public

https://octobercms.com/plugin/renatio-formbuilder
https://octobercms.com/plugin/renatio-formbuilder
2 stars 0 forks source link

File Upload - Required #16

Closed afdstudio closed 1 year ago

afdstudio commented 2 years ago

Describe the bug I created a form with field "file uploader". I want it to be mandatory. So, in validation I put "required". However, this is not working as the system doesn't recognize the attached file. Did I need to introduce another way of validation? Can you give me some help on this? Thank you in advance!

To Reproduce Steps to reproduce the behavior:

  1. Go to 'link here'
  2. Try to attach a file
  3. Submit form
  4. See error

Expected behavior File uploader should be mandatory.

Screenshots

Captura de ecrã 2022-04-04, às 19 36 28

October version 2.2.15

Plugin version 2.1.6

Additional context Add any other context about the problem here.

bojko91 commented 2 years ago

Same here, did you find solution?

mplodowski commented 1 year ago

Form Builder plugin uses Responsiv.Uploader plugin to manage file uploads. Currently there is no option to make files as required. I will try to look into this more, but for now I don't have solution.