Closed KalebMatthews closed 1 year ago
Please provide as many details as you can:
If it works in the use tab it should work if it is embedded.
Works inside the formio ecosystem but not when it is embedded in our system.
From Embedded Code:
From Formio Interface:
Code Snippet:
<link rel="stylesheet" type="text/css" href="https://unpkg.com/formiojs@latest/dist/formio.full.min.css"> <script type="text/javascript" src="https://unpkg.com/formiojs@latest/dist/formio.full.min.js"></script> ... <script> Formio.createForm(document.getElementById('formio2'), [Formio Form URL]) .then(function(form) { // What to do when the submit begins. form.on('submitDone', function(submission) { window.location = '/thanks'; }); }); </script> ...
Thanks for the detailed bug report. We will take a look.
I am closing the issue as it was created too long ago and there are no new comments here. I hope it was resolved. If not, please reopen it. Thanks!
Environment
Please provide as many details as you can:
Steps to Reproduce
Expected behavior
If it works in the use tab it should work if it is embedded.
Observed behavior
Works inside the formio ecosystem but not when it is embedded in our system.
Example
From Embedded Code:
From Formio Interface:
Code Snippet: