Hello
I have been trying to save to session in chronoforms6 but I am not able to find it how ? I have to get data from one form to the other using sessions. Can i know how ?
Thanks
Ronn
Use the Data Builder 2 action. Then use {session:variable_name} to retrieve the value.
Joomla uses cookies for session so if the person has cookies blocked it won't work.
No mate, in "value" you put the VALUE you want saved.
Thanks for the reply healyhatman,
This is a form, how will I know the value that a visitor will enter ? It confuses me ?
Please help
Romm
Come on man. The same way you get any form value. {data:fieldname}
Thanks healyhatman..
Some times I feel like a fool.
Thanks a lot
Ronn
I am sorry healyhatman,
But it does not work
Thanks for all the help
Ronn
Hello healyhatman,
I I use as follows do you think it should work : Data Builder 2
To set :
dropdown = Sessions
name = {data:}
value = {data:}
To get :
dropdown = Sessions
name : {var:}
Value = {var:}
Thanks for all the help
Ronn
Session > country_name > {data:country_name}
Assuming the field name is "country_name"
OR, use v7, it has a multi page enabled by default, which means that the data entered on the first page will be retained until the form is finished!
We now have v7 beta3
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
that was for setting the value in the session, then you call it with {session:country_name}
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Sorry Max.
It does not work.
Thanks for all the help
Ronn
try changing this to "variable" and call it with {var:country_name}, does it work ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
If it doesn't work then you're straight up not doing it properly. Please screenshot how you have your data builder action set up, and screenshot the part where you're trying to retrieve the value.
You don't use the data builder action to RETRIEVE the session value, only to SET it. Use {session:name_goes_here} to get the value
any where you use a shortcode!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hello Max.
Can you please give an example. I tried it everywhere. Nothing seems to work
Session has never been so confusing to me Sorry
Ron
You use it wherever you want to use it! The place you want the session value to be retrieved? That's where you retrieve it!
You say you tried everywhere but I sincerely doubt it. Please screenshot where you are retrieving it in your second event. As in AFTER you used the data builder action in a previous step to set the value.
You can try it in v7, add a "Var Constructor" then set a variable in the session, then use HTML view to call that variable with {session:var_name}
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Does it store the selected value? Then you use it in selected value!
It worked.. I am sorry for wasting all your time. I had to reset my browser and it worked. Caching by browsers dose sometimes give problem. Thanks again
Best wishes from Ukraine.
Take care
Ronn