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.
Triggering other action using submit buttonAsked by armitagraphics on September 27, 2016 at 02:08 PM
I have an upload from and I embedded that using the IFrame method in my page. I want to hide a button in my page and show the button just when the user has submitted the form.
To be clear, I want to send a confirmation that the form is submitted to my page's HTML code to activate the button.
Thank you in advance for your help.
You can just redirect the Thank You page to a custom URL so that once the user submitted the form, the user will be redirected to the page where the "button" is.
Here's a helpful guide: https://www.jotform.com/help/38-Redirecting-Users-to-a-Different-Page
Hope that helps. Thank you.
Actually, I want to stay at the same page, because of that I am using the
Iframe. I do mot want to leave the page where form is located. I have the
form in a frame as you can see in the link I provided. I want to make add
to cart button to be shown when the Thank you page appears.
I'm afraid I didn't understand what exactly what you wanted to do so I'll just list my assumptions.
It's not possible to fetch/feed data from your website to the form. The only way around that (that I can think of) is to get your form's Full Source code and work your logic on passing whatever data you need to be passed to your Thank You page from your website.
The other way around is possible though, by sending POST data to your Thank You page. One practical application of this feature is to display form data to your custom thank you page using a PHP script.
Related guide: How-to-Post-Submission-Data-to-Thank-You-Page
However, if all you needed was a Cart Button that will appear on your Thank You page upon form submission, you may add the following codes to your Thank You page:
<p><a style="background: #3498db; background-image: linear-gradient(to bottom, #3498db, #2980b9); -webkit-border-radius: 5; -moz-border-radius: 5; border-radius: 5px; -webkit-box-shadow: 0px 1px 3px #000000; -moz-box-shadow: 0px 1px 3px #000000; box-shadow: 0px 1px 3px #000000; font-family: Arial; color: #ffffff; font-size: 20px; padding: 10px 20px 10px 20px; text-decoration: none; cursor: pointer;" target="_blank" href="https://armitagraphics.com/cart" rel="nofollow">Your Cart</a></p>
(just adjust the styling upon your discretion)
Since we don't know what the button will do or where it's supposed to redirect your users, I just used the Cart URL I found on your website https://armitagraphics.com/cart
If we still failed to understand what your requirement is, we would request you to explain to us in more detail what your workflow is, after form submission.
By the way, this is how/where to paste the codes:
Thank you very much for your explanation. I will give it a try.