Buy Now
Sign in

Transferring Key/Value Array in Multi Page Form

U Can Drive , May 29 at 09:49
U
U Can Drive
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
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
How do you save a Key/Value Array as form data?
GreyHead
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