The Content Filter section allows users to choose which tags will be allowed for usage in the fields of their Toolset forms.
The checked tags will be allowed in the form fields while the unchecked ones will not.
Go to the Toolset → Settings page and click the Forms tab. In the Content Filter section, click the Select allowed HTML tags button. A dialog box for selecting allowed HTML tags will appear. Settings page with the Forms options
Example: in the second screenshot, you can see that only the span tag is not checked. This means it will be filtered out (removed) if used in Toolset form custom fields on the front-end.
Let’s consider that users put the following code in any field of a Toolset form on the front-end:
<span style="color:red">Lorem Ipsum</span>
When that form is submitted, the span tag will be filtered out and the following will be saved: Lorem Ipsum
Related topics
- 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
- Using the Native Media Manager in Front-End Forms
- Protecting Forms from Spam
- Front-end Forms For Repeatable Field Groups
- Letting Forms Edit Post and User Fields Created by Other Plugins
- Conditional Display for Form Inputs