Forums

What is local vars and how to set it ?

Ron 29 Sep, 2020
Hello

I would like to know what is local vars and how to set it..please could you give an example ?

Thanks

Ronn
Max_admin 29 Sep, 2020
Hi Ronn,

Local vars are used when you want to have a specific vars for your view/action, which may be called by another view/action, what are you trying to do ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ron 29 Sep, 2020
Thanks for the reply Max.

I am trying to understand it as most of the fields have an option of local vars. How to enter the var option: eg: {var:field_name}. ??
Max_admin 01 Oct, 2020
basically it's a way to pass variables to the View/Function from different sources and use the same var name locally, something like in Connectivity6 where you could pass variables from other places!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ron 01 Oct, 2020
Thanks for the reply Max.
Could you give me an example as to how exactly I should enter the value into the field.
pb539 03 Oct, 2020
Hi Ronn,

I am not so experienced but what i know you can use fields as example a text field where you add like "Name" or something like that.
Then you can call them back where you whant.
Example for 1 {data:voornaam}
Example for 2 {data:achternaam} If you add this in eg. email or a other field you can show the data.
Hope it's help's you.
Ron 03 Oct, 2020
Hello pb539,

Thanks for your help. That would be most helpful..
You need to login to be able to post a reply.