Overview
On-input actions are actions taken while the form is loaded (before submission). They can be useful for inputting field values based on other field values, clearing values based on other field values, blocking a submission based on a field value, and more. This article goes through all the available options.
Adding On-Input Actions to Capture Forms
Available On-Input Actions
Here are different actions you can perform using ‘On-Input’:
Block Submission: Prevent the form from being submitted based on certain conditions.
Clear Field: Automatically clear the contents of a field.
Notify Users: Send notifications to users based on input conditions.
Play Sound: Trigger a sound when specific conditions are met.
Send to Capture Portal: Redirect the input to the capture portal.
Show Message: Display a message to the user.
Update Field: Automatically update the value of a field.
Vibrate: Trigger a vibration on the user's device (applicable for mobile forms).
Send to Capture Portal Action
This action allows your staff to review lead information on the backend before they are fully submitted.
Setting up The Action
This action allows your staff to review lead information on the backend before they are fully submitted.
Set Conditions: From 'Action On-Input', choose your condition. In this case, we are setting all the submissions to be sent to the capture portal.
[Change the action to ‘If email {has a value}‘]Select Action: Select your action, which is ‘send to capture portal’ and select where you want it to apply.
Submissions are now set to be sent to the capture portal!
Accessing The Capture Portal
To access the capture portal, click on the alert center icon beside your profile picture, and then on ‘Capture Portal’ as shown:
To show all submissions, click the ‘General’ button.
Show Message Action
As the name indicates, the ‘show message’ action displays a message after submission for a couple of seconds.
Example
If you want to show a greeting message or a quote for people from a certain country:
Set Conditions: In this example, I want every prospect whose ‘Country’ is ‘Greece’ to see a small message after their submission.
Select Action: Choose the action ‘Show message’ and type your message. You can also change the text color and the background color of the text.
Here is how the message appears on both the web view and the mobile app.
Web View:
Mobile app
How On-Input Actions Enable Conditional Logic Actions
Actions (On-Input) is a powerful feature that allows you to perform complex actions on form inputs.
Normally, adding multiple filters to the same field action is not allowed. However, with the use of a combination of on-input actions, field actions, and hidden fields, this can be achieved.
Example Scenario
Consider a form with fields for job titles and country. You want to perform a specific action for prospects who:
Have ‘CEO’ as a job title
AND
Have ‘USA’ as their country
Steps to Achieve This
Create a hidden field:
Add a hidden radio button field and name it ‘CEO in USA’.
Use an On-Input action to combine both filters.
Set the action to check Yes in the hidden radio button field if the job title is ‘CEO’ AND the country is ‘USA’.
If both conditions are met, the action will select the appropriate choice in the hidden radio button field.
On-input actions also allow you to use ‘AND’ and ‘OR’ arguments when adding conditions, providing greater flexibility and control over form interactions.
Add a field action to the result. For instance, in this example, the field action sends an email to every prospect who has 'Yes' in the 'CEO in USA' radio button field based on the Action On-Input.