I'm trying to set a default value to a HS select but It's working only after clear the cache or for authenticated user .
Here's the code
'#default_value' => array($_SESSION['location_current_tid']);
I'm trying to set a default value to a HS select but It's working only after clear the cache or for authenticated user .
Here's the code
'#default_value' => array($_SESSION['location_current_tid']);