You can add different media fields to your front-end forms. Toolset allows you to use the native WordPress media manager to upload files using these media fields.
This allows logged-in users to select multiple items into repeating fields at once. They can also edit images as they are adding them.
Only logged-in users can use the native WordPress media manager. Visitors can upload their media files using basic HTML file inputs.
Besides uploading new media, logged-in users can also access and edit existing files. This includes adding and editing metadata, such as title, description, and more. Having access to files on your site is a sensitive feature. Users in low-level roles should not be able to access all of the site’s media fields. Thus, front-end forms come with some default permissions for accessing the WordPress media library. If needed, website administrators can use Toolset Access to modify these restrictions in two ways:
- Giving logged-in users permission to use any existing file on the site. This is done by editing the permissions defined for post, user, and relationship forms.
- Giving users in specific roles permissions not granted by default. This includes the ability to edit images and their metadata.
The following table shows the default permissions for using the site’s existing media files:
|Upload Files||Query all Files||Query own Files||Edit all Metadata||Edit own Metadata||Edit all Images||Edit own Images|
- Using WooCommerce Fields in Product Forms
- Selecting Parent Posts when Using Forms to Create Child Items
- Displaying Form Data
- Allow users to manage their items
- Charge users for submitting content
- Extending Form Functionality with Hooks
- Styling Front-End Forms
- Setting up Automatic Post Expiration
- Controlling Access to Front-End Forms
- Adding Generic Fields to Forms
- Send Notifications when Someone Submits the Form
- Deleting Content from The Front-End
- Front-end Forms for Editing Content
- Front-end Forms for Adding Content
- Protecting Forms from Spam
- Front-end Forms For Repeatable Field Groups
- Selecting allowed tags in front-end forms
- Letting Forms Edit Post and User Fields Created by Other Plugins
- Conditional Display for Form Inputs