- ateamkcAsked on March 04, 2016 at 06:37 AM
We have a 12 step survey that we are asking people to take, but we are optionally asking for their contact information on the last page if they choose to give it to us.
What we're wondering is if we can have it capture each answer on the pages that they answer and then let's say they abandon the form when they get to the contact information OR only answer 6 of the 12 questions. Regardless if they abandon it before the contact information or without answering all the questions, we would still like to be able to capture those 6 answers as a submission for our information.
Is this possible? If so, how?
Thanks in advance!
- CharlieAnswered on March 04, 2016 at 08:40 AM
I am not quite sure if I understood the 12 step survey that you have. You can only get the data on the form if it is submitted. The user needs to hit the submit button so that you can get the input fields.
I'm looking at your form titled "My Perfect Home", you have a multi page form using page breaks, unfortunately, the "Next" button does not submit the form. So you won't get the data being typed by the user unless they hit the submit button. If you want, you can add multiple submit buttons on specific pages of your form telling the user to save the current submission that they have. If you want, you can share them an edit link that allows them to update the submission (in case they have not completed all the questions). Here's a link for that guide: http://www.jotform.com/help/40-How-to-Let-Users-Update-Their-Form-Submissions-at-a-Later-Date
Another possible way is to use the API. If you are a developer or knows one, you can get the full source code of the form. Embed it on a website page. You will then add your own custom script in it.
What does the custom script do? Your custom script will be tied on your first "Next" button, silently submitting the form using AJAX and via API. Here's the specific documentation in our API on how to make a submission: http://api.jotform.com/docs/#post-form-id-submissions. The succeeding next/back buttons will literally update the existing submission that your first next button created. Here's the specific section of the API that let's you update the submissions: http://api.jotform.com/docs/#post-submission-id. It might be tricky but it should be possible using custom scripts.
I hope that helps.
- ImmerQiAnswered on May 09, 2017 at 02:50 AM
Hi I tried the suggestion above by Charlie where I added in a submit button at each page break. However, when I tried to save at the first submit button that I inserted, I get a message saying "There are errors on the form. Please fix them before continuing." The required fields are then highlighted.
Is the issue that I can't "submit" partially if I have required fields? If that's the case, haven't to make all fields non required would obviously present problems. Is there something I'm missing?
- JotForm Supportashwin_dAnswered on May 09, 2017 at 03:18 AM
Hello ImmerQi ,
I have moved your question to a new thread do that we can address it separately. You will be answered in the following thread: https://www.jotform.com/answers/1139548