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.
Page breaks and calculationsAsked by dorsetholidaylets on December 18, 2015 at 06:40 AM
I have a form which I want to use page breaks but when I do the calculations do not work properly between pages. If I take the page breaks out it all works fine.
The page is below.
We are sorry for this inconvenience this might have caused. I carefully checked your conditions and I did not encounter any issue. It seems working properly on my side.
Here is how it works:
If you provide us more details about which part isn't working properly, we can assist better.
We will wait your answer.
HI thanks for your reply.
If you look at the sample you created above you will see that the "Total cost of all Riders" before you clicked on NEXT was £45 while the "Total costs Including your Donations" and the Total for payment on the next page was only £20 whereas it should have been £45.
I have just noticed another odd happening with this form with Page breaks:-
If you enter 2 or more riders and then click NEXT for the next page and then click BACK you will see that the Total Amount of all Riders on the first Page is incorrect and is only the total of the first rider and the last rider on the page has no cost even though the route is still selected and the cost was shown before you clicked Next and Back.
I have investigated your form and found the cause of the issue.
The field for the subsequent riders are calculation field with not default value, when you switch back to the first page this field try to recalculate and since they have no values defined in them they return blank result thus clearing your initial values.
I would recommend you switch these fields to a normal text fields, the best approach will be to clone your form and edit the clone so that you do not lose any collected data.
Here is a sample for with the suggestion applied for the second and third rider https://form.jotform.com/53515682208961
You can clone it to your account for investigation http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL
Hi Sammy thanks for your reply, that has fixed the problem. It also sorted out other problems on other fields which were Calculation fields rather than text fields. I did not think you could hold values in text fields.
I am still at the testing stage so not worried about lost of data.
On behalf of my colleague, you are welcome. If you have any other issue during your testing, please let us know. We will be glad to assisting in resolving your issue.