JetFormBuilder Formless Actions Endpoints
The JetFormBuilder Formless Actions Endpoints addon is a powerful tool that allows you to create functional buttons on your WordPress website that can perform specific actions when clicked. This add-on enables you to create custom endpoints for your forms, which can be used to trigger actions such as updating a post status, sending emails, or performing other custom actions.
To configure the Formless Actions Endpoints add-on, you need to follow these steps:
- Install and activate the add-on in your JetFormBuilder Pro plugin.
- Create a new form in JetFormBuilder and add a hidden field to store the post ID.
- Set up the post-submit actions to update the post status using the “Insert/Update Post” action.
- Create a new endpoint in the JetFormBuilder Endpoints tab and select the form and action type (e.g., Rest API Endpoint).
- Copy the sample request data and add it to the button widget on your page.
- Configure the button widget to submit the form using the created endpoint.
Once you’ve set up the Formless Actions Endpoints add-on, you can create functional buttons on your website that can perform custom actions when clicked. For example, you can create a button that changes the status of a custom post type (CPT) post to “trash” when clicked.
Reviews
There are no reviews yet.