JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Wix embedded form is not submitting or redirecting to PayPalAsked by queenjesslee on April 29, 2016 at 06:33 PM
Still having trouble with jotform submit button not linking to paypal on wix, it is still remaining on wait. I actually re-did the whole page and that atleast helped it work on jotform. It works on jotform but not on wix. I tried every way of copying code from embed via iframe and also embeding from wix. I am going bat crazy. Could it be that I replaced the name, address areas and those parts need to be directly connected with submit? Please help.
The wix website is : http://queenjesslee.wix.com/fair
Oh btw, it's under the form is under the vendor registration.
I have checked the "Vendor Registration" page on your website, and I see that the form embedded there is form 61193830709155. Whenever you try to submit the embedded form, you are presented with the error like the following:
The error itself tells us that our form (JotForm) did not have sufficient privileges granted by the website where it was embedded (Wix), so our form could not work correctly.
When you access your form over its direct link, however, it submits correctly because our form then runs with regular (unrestricted) privileges as any other webpage or form does. So you can submit the form over the following link without any issues: https://form.jotform.com/61193830709155
The cause of the reduced privileges for our form is the built-in security feature of Wix - Wix adds our form inside another special iFrame, for which it sets reduced sandbox privileges. The privileges your Wix website is currently granting are:
sandbox="allow-same-origin allow-forms allow-popups allow-scripts allow-pointer-lock"
But in order for our form to function, it must also be allowed top level navigation, so the sandbox code on Wix should be changed into this:
sandbox="allow-top-navigation allow-same-origin allow-forms allow-popups allow-scripts allow-pointer-lock"
To give a visual understanding of the structure on your website, it looks like this:
The iframe from Wix sets some privileges in its sandbox attribute, but not all the ones we need for the form to successfully submit:
Please make sure that the sandbox attribute on your Wix site is either removed completely, or changed to give all required permissions as in the code mentioned above, and the form should be working fine after that.
You may need to contact Wix support regarding how to remove the sandbox attribute from the box into which you are copy-pasting our embed code. You can also check our guide on how to embed a form into Wix here: