mplodowski / formbuilder-plugin-public

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

Questions to file uploader #12

Closed maki3000 closed 2 years ago

maki3000 commented 2 years ago

Hello, I have three questions about the file uploader enhancement:

  1. Can I make the field required depending on another field. In my case I have two radio buttons with option yes and no. If yes is checked I show the file upload (via jQuery) and I would like to make it required. If no is checked I hide the file upload and I don't want it to be required.

  2. How can I set that the file upload should be only one single file?

  3. I set in the validation following: mimes:jpeg,pdf But the file uploader somehow has all types allowed. What am I doing wrong there?

mplodowski commented 2 years ago

Sorry, but those options are not supported yet. I have those on my bucket list. Probably this will be added in v3.