Automatic save setValue from SESSION to Field.
Automatic save setValue from SESSION to Field.
hykl
Posts: 48Questions: 19Answers: 5
How are for save value from SESSION automatic after Create or Edit record to Field?
example:
Field::inst('username')
->setValue($_SESSION['name']),
It does not work :(
setFormatter or ??? - I does not know to set automatic save from SESSION.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hello,
you need to define the action when it should save the value.
Another solution would to use the setFormatter:
Cheers
Hannes
Hóóóóólááá, I am very happy :-) Thank you very much and thank you for fast time answer :-)
Tested a it is OK :-)