Front-End Event
Introduction
Functions
Front-End Event is a brand new way to obtain data that allows for retrieving external APIs during data submission or form completion. This enables a range of operations, including data retrieval, validation, analysis, and event triggering.
The Front-End Event function is available for free in all plans and does not require the activation of Jodoo API interface. The configuration of front-end events can be completed without programming. If a company has development capabilities, they can also create their own API to achieve the desired data interaction.
Application Scenarios
The function is applicable to data processing, data validation, data acquisition, and other custom scenarios.
For example, VAT invoice recognition, bank card recognition, ID card recognition, custom template recognition, face & ID comparison, logistics information enquiry, and so on.
Preview
After configuring a front-end event, you can upload a VAT invoice image. Then the system will recognize the invoice.
Where to Set
1. Go to Design > Form Properties > Front-End Event, and click Settings.
2. If you have not added a front-end event, click Add Front-End Event.
3. If you have added a front-end event, you can edit, debug, delete, enable, or disable the event. Or you can click Add Front-End Event to add another event.
4. If you have added multiple front-end events in a form, you can sort them by dragging and dropping.
What to Set
In Front-End Event, you can set Event Name, Event Description (Optional), Trigger, and Triggered Action.
Event Name
Event Name (required) refers to the name of a front-end event.
Event Description
Event Description (Optional) refers to the description of a front-end event.
Trigger
Trigger refers to the condition that triggers a front-end event. Select a field from the drop-down list of Trigger. When you manually modify the value of the field, an action will be triggered.
The following fields are available to be selected:
Single Line, Multi Line, Number, Date&Time, Radio, Checkbox, Single Select, Multi Select, Image, Attachment, Signature, Member, Members, Department, Departments, and subfields.
Triggered Action
Triggered Action means that when an action is triggered, the system will retrieve an interface for the front-end event to complete the action.
You can select Custom Request or use a plugin when setting the triggered action.
Saving and Debugging
After configuring the front-end event, click Save, or click Save and Debug to preview and debug the event.
On the Debug Front-End Event page, enter data into the triggered fields and click Send Request. On the right panel, you can view Request Content and Response. The system will enter the content of Response into form fields based on your settings in Response Settings.
Request Timeout
If the system shows a prompt "Request Timeout" when you use the Front-End Event function, the system will automatically resend requests. Each request will last for 15 seconds, and the system will attempt to retry the request up to three times. If the request times out again on the third attempt, it will not be retried.
Configure | Default |
Time | 15 seconds |
Number of retries | Three times |