- beatsaheadAsked on October 05, 2015 at 05:18 AM
I have this working fine if I use the jotform url, but getting something wrong in wordpress.
I am embedding the 2nd form in a page, I have put 2 scripts on, the first without the prepop info is working, the 2nd with the prepop is not showing up.
Having spent the best part of 3 days getting the date to copy over, ik would love it if I get get both parts of this for to work within my site.
1st page http://dj-hire-london.co.uk/test4-2/
2nd page http://dj-hire-london.co.uk/jotform-test-2nd-form/
- JotForm SupportWelvinAnswered on October 05, 2015 at 09:51 AM
I cannot submit your first form and this could be because of a script conflict. I would suggest re-embedding your form using our iframe method: https://www.jotform.com/help/148-Getting-the-Form-iFrame-Code.
Now, for the prepopulation, the way how you build the URL is not correct. You should build the URL and use it as the redirect URL (thank you URL) in the first form so the data will be automatically forwarded to the second form.
Let us help you with this. What date field from the first form are you trying to forward to the second form? Is that the Start or End date field?
If it's the start date, you should do it like this:
- beatsaheadAnswered on October 05, 2015 at 10:49 AM
I changed the url while I was doing different testing, the form submits OK and the peak value is bein carried over, but not the date or all field.
- JotForm SupportBJoannaAnswered on October 05, 2015 at 01:34 PM
I was also not able to submit your embedded form. Then I tested your standalone form:
http://www.jotformeu.com/form/52762376904361 and I was also not able to submit it.
Then I inspected conditions on your form and almost all of the conditions are set for fields that you have deleted from your form.
I would suggest you to delete all of those conditions for fields that are deleted, to see if than data will be passed to your other form when your first form is submitted.
Let us know if you need further assistance.
- beatsaheadAnswered on October 06, 2015 at 05:11 AM
I have done that, the correct values can be seen in the url of the 2nd page, the date box has the date in it initially and then it resets to 'enter a valid date'
- JotForm SupportChriistianAnswered on October 06, 2015 at 06:40 AM
I did some test submission in your form and I was able to see what you are reporting. The event date was reset to the current date. Can you try to re-embed your second form using the iFrame embed code and see if it will work?
Do let us know if the issue still persists.
- beatsaheadAnswered on October 06, 2015 at 06:50 AM
I've done that, the values are still showing in the url but now nothing is in the date fields
- JotForm Supportashwin_dAnswered on October 06, 2015 at 08:49 AM
There seems to be some confusion here and please accept my apology for this. I did try to first test your form 1 which is embedded in 1st page. I am not able to submit the form. The submit button of your form does not respond. Please check the screenshot below:
I would suggest you to embed your first form with its iFrame embed code so that form can be submitted.
Now coming to the issue of your second form: Please be noted that if the form is embedded using its iFrame embed code, fields cannot be prepopulated from the webpage URL or parent web page. There are ways to solve this issue by embedding your form with its full source code but I am not sure if that could also create code conflict specifically in your webpage.
I would suggest you to first embed your second form with script embed code which you were using earlier and then we will take a look if there is any code conflict.
We will wait for your response.
- JotForm SupportBJoannaAnswered on October 06, 2015 at 11:21 AM
We are glad to hear that resolved your issue with passing data from one form to another.
Considering that your last question is not related to subject of this thread I have moved it to separate thread and we will provide you an answer there shortly.