file upload fields and styling
Hi Gaurav,
I have a few small requests. Firstly with a file upload field when selecting a file it will replace the currently selected file. Could it add to the selection instead with each file having a remove button to remove it from the list, this can be helpful for people trying to upload multiple files from different folders. Having a setting to restrict file types and set the maximum number of files for the field would also be great.
Secondly, for styling could we get a form level setting for default classes to each field wrapper and a setting to add custom classes to the field's wrapper next to the existing add css class setting? This should include the fieldset wrapping radio groups. At the moment if I add a class to the fieldset in the code view it is removed on the front end. adding a class in the visual editor adds the class to each of the radios as well which isn't what I want.
Thirdly, an invalid field keeps showing an error after a user fixes it, up until they leave the filed again. Could the error clear when the input becomes valid so they can see the field is right and don't keep trying to fix a now valid field.
Lastly would it be possible to set the keys as wp-config constants like you did for me with corebookings?
Thanks Matt.
Want this too?
Comments