Buy Now
Sign in

Transferring Key/Value Array in Multi Page Form

U
U Can Drive 115
May 29 2018 #377999
So I have a complicated form that is one step from being perfect!

It has two pages (multi page setup).
The first page uses a "Read Data" function to load in a Key/Value Array to be used in a drop down menu.
Submitting the first page saves the data and then displays mostly the same information again, with some minor changes.
The same drop down menu is used in the second page but the Key/Value Array Data is lost with the change of pages.
--- How do I get the Key/Value Array Data to transfer to page 2 ---

Redoing the "Read Data" doesn't work as it's now under a different "read_data#" number and I'm using the same display section.
GreyHead 63.5
May 29 2018 #378001
1
Hi U Can Drive,
You can save the first array to the form data, then use MultiPage actions to carry the data forward to the second page.
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
U
U Can Drive 115
May 29 2018 #378005
How do you save a Key/Value Array as form data?
GreyHead 63.5
May 29 2018 #378014
Hi U Can Drive,
Please check page 34 of the CFv6 manual. If it helps you can json_enocde it first.
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much