Passing data through sections CF 6

vismay 21 Jun, 2017
Hello,

I was used to CF 5 where I could pass the data through pages with multipage ( I thing technically the data was beeped in session with $form->data['field']

Now I'm trying with sections, but the field value of section 1 is not available in section 2 calling $this->data("field", "default value")

Do I miss something?
Is section different as page?
vismay 21 Jun, 2017
I save perfectly in database what is in the actual section, but not what is in the previous section.

I try to use multi page in event and Display section.
Max_admin 21 Jun, 2017
Hi vismay,

Did you check the setup of the multi page form demo ?

the data provider of the "save data" action should be retrieved from the session variable: {session:var_name} or in php:
\GApp::session()->get("var_name");

The "var_name" is the name of the multi page action, or if you are saving the data to the session yourself then use the session var name you have used.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
vismay 22 Jun, 2017
Answer
Yes, Ive' found the solution passing the session in display section with:

{session:multipage}
This topic is locked and no more replies can be posted.