I am facing an issue where I am unable to get the workflow triggered for ‘onSubmit’ action on a form to work in Preview mode. (Screen Recording attached) I can make it work in Debugger / Workflow mode
From the documentation, I have verified the following conditions are all met:
is the workflow on the Form container? Yes
is it triggered On submit? Yes
is the form button a Submit button? (check the Settings tab of the button) Yes
is the form button enabled? (check it’s not disabled in the Settings tab of the button) Yes
is the submit button inside the form container? Yes
Please note that I have a repeating element inside the form (inside the Education div block)
I think the issue is that you have a workflow on your section “Content”. So only this workflow is executed. If you want to keep this workflow, in the workflow of your form, you can add an action “Custom Javascript” with the code event.stopPropagation();
Hi @Mael Thanks for responding. I tried doing what you suggested and I also tried deleting the workflow on “Content” to see if it solved the problem - however both did not work.
In your form container, you have set some with required. But you have hidden these inputs. When you click on the submit button, nothing is happening because you didn’t fill all required field. And your browser can’t display the message to tell you that this input is required because you hide it