Hi all,
I have a route planning application which I am integrating with ChronoForms. It consists of two forms and I've configured the mother form with multi page.
Form1 has the following:
start textbox
destination textbox
submit button
Form2 has:
[The Map and related JS]
start textbox
via_0 textbox
via_1 textbox
via_2 textbox
via_3 textbox
destination textbox
How can I pass the "start" and "destination" Form1 field data to the same named fields in Form2?
I've looked at passing data in the URL but can't figure how to apply it to CF.
I've tried saving the data to a table that both forms share but can't figure out how to save the data to the table until the end of the multi page process.
Will post code if you want.
Any help would be brilliant.
Cheers,
Al
I have a route planning application which I am integrating with ChronoForms. It consists of two forms and I've configured the mother form with multi page.
Form1 has the following:
start textbox
destination textbox
submit button
Form2 has:
[The Map and related JS]
start textbox
via_0 textbox
via_1 textbox
via_2 textbox
via_3 textbox
destination textbox
How can I pass the "start" and "destination" Form1 field data to the same named fields in Form2?
I've looked at passing data in the URL but can't figure how to apply it to CF.
I've tried saving the data to a table that both forms share but can't figure out how to save the data to the table until the end of the multi page process.
Will post code if you want.
Any help would be brilliant.
Cheers,
Al
Hi alryalls,
ChronoForms should make the previous page(s) info available in the $posted array so $posted['start'] and $posted['destination'] should give you those values.
Bob
ChronoForms should make the previous page(s) info available in the $posted array so $posted['start'] and $posted['destination'] should give you those values.
Bob
Hey Bob,
Thanks very much for that and apologies for my utter noobness!
So, in form2 where I have:
How should I enter
Many thanks. Do you have a donate button somewhere? 🙂
Al
Thanks very much for that and apologies for my utter noobness!
So, in form2 where I have:
<input type='text' id='start' style="width:250px;" value="?" />
How should I enter
$posted['start']
Many thanks. Do you have a donate button somewhere? 🙂
Al
This topic is locked and no more replies can be posted.