What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
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.
The form disappears after submitting. How do I fix it?Asked by xGrigoriyx on March 02, 2013 at 03:12 PM
Hello. Could you please have a look at what is happening after you submit a form http://www.give-love.co/#!blank/cq2x. It just disappears. Instead of "thank you" page it transfers to the page where the form is, therefore it stays at the same page. But, why does the form disappear? PAge refhresing helps though, but it is quite inconvenient. Thank you.
Hello there, thanks for posting yoru concerns. Yes I conducted a test submission and confirmed that it goes to an empty page.
Upon checking on the form the thank you page is redirecting to http://www.give-love.co/#!blank/cq2x which is the same page where the form is. Do you want to use a custom thank you page? You will only need to redirect a thank you page if you have a different thank you layout page.
When change the thank you page behavior:
1. Open the form on the Form Builder
2. Click Setup & Embed
3. Click Thank You button above
4. Wait for the "Thank You Page Wizard" window to popup
As you can see here it is currently set to a custom URL and from the above illustration it is set to the same page.
You can choose the first option to set the default Jotform thank you page.
The third option gives you the privilege to type your own thank you message and replacing the default message.
Please let us know how it goes. Thanks
Thanh you for your answer, but I want it to stay on the same page, I don't need any "thank you" message. All I want is the fields to become clear after the submission, but as you can see the form just disappears instead.
Hello again, I did a few workaround but failed. However, I would like to suggest another workaround that you can only do from your end, it seems that something in your Wix platform is interfering with Jotform code. Probably those flash objects. Could you try to re-embed using the IFRAME method and see if it fixes that blank problem. This should place your form in a protected frame. Thanks
Another suggestion is to use the 3rd option - "Thank You Message". On your thank you message you can try to put a link going back to the page where the form is. I know this is not the way you want it but it should fix that missing form problem without hitting refresh.
I did the second offered by you method, but when it moves me back from my "thank you" page to the contact field, then there is no contact form again... Please, submit a new, well-prepared form to see what I mean - http://www.give-love.co/#!contact-rus/c20c1. After submission, and pressing the button, you will be moved to HOME in Russian, please then press the last option from the menu - it will move you to "contact us" field and you will find no form there.
Please try to embed your form for just this codes:
<iframe id="JotFormIFrame" allowtransparency="true" src="//form.jotformeu.com/form/30603850952351" frameborder="0" style="width:100%; height:899px; border:none;" scrolling="no"></iframe>
Let us know for the results.
Thank you for your fast response
The code didnt work, the situation is the same..I just copied the whole code you wrote.
But, was I supposed to just embed the above code, or to replace the parametres in the code I had for the parametres in the code you've provided?
Like Ardy, it's most probably due to your Wix Template objects that interfers the form. My suggestion is to use custom PHP script that redirects back to your page so the form gets loaded again. You can use the following.
$url = "http://www.give-love.co/#!blank/cq2x";
Copy that code, paste it to notepad and save it as php file e.g. redirect.php. Upload the php file to your server then set it as your form's Custom URL. Example:
I think this helps. Thanks!
Could you embed using IFRAME directly but bypassing your theme?Probably injecting directly to your web page file before it can process and before it can obfuscates the form code. I am not sure if this is possible into a Wix-based website.
Im not sure I can upload any php files there...
Im not sure what you mean "bypassing my theme". I just insert the code in wix editor, I cant do anything apart from that. By the way, if I delete my flash objects on the website, the form doesnt load again. So, I believe flash objects, as assumed earlier, do not interfere with the form.
Thank you for help, really :)
Hi, I would like to clarify to you first that the behavior of your website page not being able to display again the same page after subnmission of the form is a normal behaviour of the browser.
If you noticed already, the fix or workaround being offered all relate to the reloading of your page. If you try to Refresh your browser (hit Refresh button, or CTRL+F5 keys), it will reload the page again and will display the page with the form in it again.
There is no direct way to workaround it using the JotForm form within your website page.
The redirect to the same form does work if you use the direct URL of the form. Test this form (just hit submit button) http://www.jotformpro.com/form/30636085121951
So, if I am allowed to recommend, using the form's "Thank you message" and adding a link back to the page where the form is located in your page, is the simplest workaround. Like this form http://www.jotformpro.com/form/30636572057960
Please inform us if this is still not suitable for you.
Just submit that form and see what happens : http://www.give-love.co/#!contact-rus/c20c1 . I used my own thank you page and a link which leads back to the form page.
Yes, I was able to reproduce the problem. We suspected that the problem lies on the template or probably some sort of conflict on the page which we can't simply point out where since you are running on a flash-based site.
Going back to my workaround, you have to upload the php file to any hosting sites you may have. You can also use free hosting sites like awardspace.com or 000webhost.com. Set the php URL as your thank you page afterwards, that should help. Thanks!
this is happening in virtually every single wix template we use. even the blank from scratch.
must be something more generic than single or individual template issue. we even tested it on a completely blank page, with NOTHING ELSE on it. and still, the behavior is the same for us. same exact problem, all forms disappear on all wix sites no matter what, once they are submitted.
wix html widget iframes the code we put into it, after it saves it on its own CDN/servers, and from there the iframe can show, not sure if that is something thats causing this, but since i need a solution to this or jotform and wix marriage will fall apart and thats really bad for all my plans, i am updating in hope a ray of light.
We will try to check this with Wix and try to build our own website to test. We'll get back to you later today for our findings.