Issues passing information a 2nd time (after user goes back) to another form

What is JotForm?

JotForm is a freeonline form builder which helps you create online forms without writing a single line of code.

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.

Why do you not want to answer this thread?(Your answer will be sent to Jeanette and Aytekin)

The problem is if someone messes up and goes back to the first form and renters new values, the second form does not take those new values. It is like the browser is holding on to them and wont overwrite them. I was told that passing it into an iframe might fix it but it doesnt seem to. Is this something that I will have to live with or is there a workaround?

I took a look at the jotform and created few submissions to check this and I can see that as you said, the issue happens if the jotform is being redirected to for the second time around.

I first thought that the autofill feature is enabled, but as it was disabled I had checked the URL. The URL that is sent to the jotform each time is different so both times the iframe was loaded with different values, but the old values seemed to still have been in affect.

After giving it a break of 1 minute or so and refreshing the page, the correct values were placed in the fields.

To not beat around the bush, you have it all properly set up, the browser however seems to keep the old value instead of showing a new one.

I think that I might have an idea that would help with this.

You are already pre-populating the iframe through a bit of PHP codding. What I would like to ask you is to create a new parameter and its value at the very start of the URL parameters list.

With the numbers in bold changing every time someone comes to your website.

Alternative would be to use plain rand() function instead, but I like this one more as it provides with a truly random number while the plain rand() function is known for producing same random values for a close periods of time.

I have also combined the '&' . 'postal' since it is the same if we write them together or not, while if written together they are (at least to me) easier to follow, so feel free to use them as before, the only important part is the first part right until the email.

In your example_php.php file you will embed your Form 2 there with proper calling or fetching of POST data coming from Form 1.

Regarding the retaining of values from previous submission, I believe this is because of $_REQUEST call function where values is being set via Cookie, I'm not sure though, you can check the documentation here: http://php.net/manual/en/reserved.variables.request.php. You should try using $_POST instead.