Transferring Key/Value Array in Multi Page Form

U U Can Drive 29 May, 2018
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.
Gr GreyHead 29 May, 2018
1 Likes
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
U U Can Drive 29 May, 2018
How do you save a Key/Value Array as form data?
Gr GreyHead 29 May, 2018
Hi U Can Drive,
​
Please check page 34 of the CFv6 manual. If it helps you can json_enocde it first.
​
Bob
This topic is locked and no more replies can be posted.