Data flow
Here's how data flow in the Computed fields add-on works:
- User input - User fills in and submits the form.
- Computed Fields - Computed Fields add-on takes the user input and processes it using the defined program.
- Output - Result is returned to JavaScript through the custom key in the Forms API response data.
- Frontend - JavaScript takes the result and redirects the user to the Thank you page.
- Thank you page - A block displays the result to the user on the Thank you page.
- Computed Fields Results block - Computed Fields Results block takes the result using the
GET
variablees-data
and displays it to the user if the conditions are met.
Note
Multiple Computed Fields Results blocks can be used on a Thank you page, but only one variable name can be used per block.