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.
I would like to know if it's possible, and if yes, how, to add code to my "Submit" button in my form.
The point is to add action, on top of sending the form.
Ideally, I would like to do that on my page and not on the form self to avoid making a lot of different form for each different actions I would llike to add to the button.
I hope I was clear enough with my question..
For security reasons, we restrict adding scripts in the form so what you can do would be to get the form source codes and modify the source codes before embedding it to your website.
You can save the source as an HTML and then you can embed the HTML file as an iframe to your page. Of course, you have to upload the HTML first to your own server.
Thank you for your answer.I found a way to simulate the click on the "Sending" button on my page, so my problem is partially solved.Now I need to hide the button from my page, without deleting it or else I can't simulate its click.
I tried to put its display to none but oddly it doesn't work..document.getElementById('60892377133359').contentWindow.document.getElementById("input_2").style.display = "none";
Do you have a solution to hide the button?
That's great to know. As for hiding the submit button, I needed to move it to a new thread. Please find my answer to that question in this thread: https://www.jotform.com/answers/810837.