Custom JavaScript
Run browser-side code when a form submission succeeds or fails.
Configure JavaScript
Select Custom JavaScript under Actions > Actions After Submission in the Content tab. Enter code without <script> tags in Run JS on Successful Submission and Run JS on Failed Submission, then save.
Code runs in the visitor's browser; use a form action or webhook for server processing. If it fails, check console errors and required page elements/libraries.

Enable Run Action Conditionally and add Conditions to run this action only when all configured field comparisons match.