Hi,
I had a problem with setting the value of a field in the OnApplicationInit and OnScriptInit.
The following didn’t work
if(isset($_SESSION['GSM']))
{
{phonenumber} = $_SESSION['GSM'];
}
Where the session came from a parent dialog.
So, the tip is as follows. Add the following in the defined value of a field (settings).
". $_SESSION['GSM'] . "
However, a even better way is to wrap this into a method (function) so just as an example:
". $this->setgsmnumber() . "
Cheers,
Sparrow