The features included in v2.02 have been highly anticipated for a long time and we're excited for you to check them out! This release knocks out at least 15 suggestions in our help desk, including a handful of the top 20 requests like drag and drop uploads.
What do these changes mean for you?
By way of quick overview, the new drag and drop file uploader allows you to:
- Put your file upload fields on any page of your form.
- Use Ajax submission when a file upload field is present in your form. By association, this means that it's easier and looks nicer to use a form in a modal when it includes a file upload field.
- More easily control the number and size of uploaded files.
- Remove uploaded files easily when creating or editing an entry.
- Get rid of any custom code or extra add-ons used to modify the behavior of a file upload field.
Drag and Drop Uploads
The default file uploader has been replaced with a sleek, full-featured, ajax drag and drop uploader. It includes instant file uploads, links to remove each individual file, a progress bar while uploading, and a thumbnail image preview.
If you prefer the file upload field to take up less space, add the frm_compact class in the CSS Layout Class box.
There are also a couple of new validation options. The new validation settings could help you get rid of old custom code (yay!).
Uploaded files are automatically sorted into form ID folders (i.e. uploads/formidable/25). Please be aware that these changes may affect custom code using the frm_upload_folder hook. Since the files are uploaded immediately, the entry values aren't available via POST variables. If you are using the frm_upload_folder hook to change the upload folder, you may need to revise the organization of the files. But keep in mind that the new file protection will apply to everything in the same folder as a protected file.
Protect your files from direct viewing on a form-by-form basis. This protection doesn't apply to old files, but will apply to everything uploaded once you are running v2.02. You can find this option in the settings for each form.
Whether you turn on file protection or not, your form uploads will be hidden on the Media Library page. If those uploads are attached to a post, you'll still see them. Otherwise, only those with permission to edit entries from the back-end will see the option to "show form uploads." Any direct viewing of the WordPress attachment page is also blocked from users who don't have permission.
Up until now, importing files from one site to another required our Upload Importer plugin. That extra plugin is no longer needed. We have merged the Upload Importer add-on into Formidable. You'll now see an option to import files when you import your entries.
While we were making these changes, we also simplified age calculations. Just put [age id=25] in a calculation box, where 25 is the id of your date field, and this will automatically calculate the age. Keep in mind that saving the age in your form will stay the same over time, while getting the age directly from your date field inside of a View will always be current.
Thank you for all your support! We hope you will enjoy these exciting new changes. We think it's a big improvement and as always, we have great new features planned for the coming months.