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.
Setting up the email to be sent every time a page next button is clickedAsked by 1thomh1 on March 13, 2015 at 03:44 PM
This is great, BUT if you could trigger the email program to run when the next page button is pressed, then you could put in a box for the user to tick if they want the email, and set a conditional email to send when they press next, IF they tick that box. Better yet, if an email could send the moment they tick the box/ press a button that would be fantastic!
My only other problem is that this assumes they're being sent direct Jotform links, many of your clients, myself included, embed your forms into their own websites and don't want the user to know they're using Jotform - this wouldn't work as it only works with a jotform link!
This is a re-post of a comment on How to Set Unique Submissions on a Form
You could accomplish that Thom by grabbing a full source code of your jotform and then adding the ajax calls that would send you the emails each time the next button is clicked.
I believe that having such a feature might confuse a lot of people if they should continue filling it out or not, while in the same time it would mean that a lot of emails would be sent for one actual submission, so each email would only hold one part of the data.
It wold also be against the law to not give your visitor a chance to change their mind and remove their data before they click on the submit button.
Having that said, you can still as mentioned at the start implement this feature outside of the jotform.
Now the last segment suggests to me that you are having some issues embedding jotform on your website? If that is true we would be happy to see what is the issue as well as how to resolve it, so just let us know if so.
Thank you ever so much for showing me the source code option, but I fear you may have misunderstood my question, allow me to clarify.When I create a form with you, I can access it via the jotform link. When I use the carry on later option, I'm still using the jotform link + their email. If I'm embedding it onto my own website, in this instance it would be found at realtraining.co.uk/RetaPCI. If I added the email bit to the end of my web address, it wouldn't pull through the form, I'd have to send them the jotform link for this to work.
Also, could you clarify the AJax method for sending emails when the next button is clicked? You'll see the form only has two pages, so I want the email to send half way through the form so that they can complete the second page later - would I be able to set conditional emails with this, so that they have to tick a box before clicking next for the email to trigger?
Thanks ever so much,
In regards to the question about embedding the jotform in such a way that you can use your own URL and the session, I have moved it to this thread: http://www.jotform.com/answers/534646 since it is not the same as the original question, or at least the second part about AJAX seems that it would flow more natural in this thread.
In regards to this, you would need to create a system separate from ours that would send the email to the customer.
It would be possible to use our system, but it would no longer be session to continue later, but instead they would need to use the edit link.
The reason for this is that emails are only sent when the submission is made. On the other hand the session is stored for as long as submission is not created, so even if you would use AJAX to submit the data from first page - to send them an email from our server - they would not be able to continue filling out form since it would show them an error or create a new submission - since it would seem that they already cleared the session and were now looking to post again.
Now, if you send the email from your side, then you could utilize Mandrill as well for this and just send the email from the script on your server that is activated over AJAX.
Unfortunately we can not help you set it up like so since that is not related to jotform and I would suggest hiring a developer that would do that for you.