- AptifyAsked on March 14, 2014 at 11:31 AM
I created a form that I don't want to refresh or redirect. Basically, I have a form https://www.dropbox.com/s/v19zplk8co8wdmd/testform.html (you can download locally and run) that I changed a page break to a submit button to go to the next screen to show certain answers based of their responses. It shows the answers then refreshes the form. Can I prevent this? Is there a better way to display a set of answers based off the questions? If I didn't do it this way, I would need a combination of about 126 different thank you responses because there is a variety of a combination of answers.
You will noticed I created a autosubmit form button on the next button with alittle script in the form :).
Please help when you get chance.
- JotForm Supportashwin_dAnswered on March 14, 2014 at 02:42 PM
First of all let me tell you that you have built an awesome form. Look and feel of your form is excellent.
Coming back to your question, I am not sure if I understood it. I am not clear your requirement. Can you please explain us a little more on the steps / process flow of your form and also your requirement.
If you just need to show the results based on your user selection and as you are already using your form's source code, can't it be done by just adding some custom scripts?
We need a little bit more clarity. We will wait for your response.
- AptifyAnswered on March 14, 2014 at 02:53 PM
So the form is an assessment and based off your responses to the questions, you will recieve certain responses. For example, if you choose yes to 1 and no 2 etc. you will recieve a certain response. If you choose yes to 4 and no 5 etc. you will recieve another response. I am hiding the answers until after the form is submitted. Right now, choose 10-50 for question one and $1-$5m for the third question. You will see a submit button come up. That is actually a page break next page button. I set-up a script so it will auto submit and go to the next page when you hit that. When you it, you will go to the next page to see the answers based off the quesions you chose. If you don't choose 10-50 for the first quesion, you wouldn't see adapatability. I have more conditions to set-up but didn't do it until I get this resolved.
The form does submit with the script, but redirects after that to a URL. I want it to just stay on the next page so people can view their answers.
Does that make sense?
- JotForm Support ManagerJeanetteAnswered on March 14, 2014 at 05:27 PM
- AptifyAnswered on March 14, 2014 at 05:35 PM
The only issue with that is there is alot combinations I would have to create for thank you pages. I can't prevent the page from reloading or redirecting? Isn't there a script to prevent that and still submit?
- JotForm Support ManagerJeanetteAnswered on March 14, 2014 at 05:47 PM
You could use XML in a webpage or any sort of script , but you must dowload the full source code of the form, then get dirty with some sort of programming to accomplish that
- AptifyAnswered on March 17, 2014 at 11:56 AM
Ok sounds good. Thanks!
- CarinaAnswered on March 17, 2014 at 01:02 PM
Let us know if you can be of more assistance.