Hi. Just wondering if you can please help.
Ive got 2 calc elements in a form.
Im trying to pass the resulting variables from one to the other
(the first one that creates variables runs using ajax watch)
Ive spent hours trying to get this to work, but still no variable is passed
In First calc-
$session = &JFactory::getSession();
$session->set("login","session_value")
In second calc -
$session->get("login")
Please note, Ive just copied and pasted those from yet another tutorial ive read, actual variables are custom ones, and tried all different formatting
Ive got 2 calc elements in a form.
Im trying to pass the resulting variables from one to the other
(the first one that creates variables runs using ajax watch)
Ive spent hours trying to get this to work, but still no variable is passed
In First calc-
$session = &JFactory::getSession();
$session->set("login","session_value")
In second calc -
$session->get("login")
Please note, Ive just copied and pasted those from yet another tutorial ive read, actual variables are custom ones, and tried all different formatting