Hi! i created my field:
piklist(‘field’, array(
‘type’ => ‘text’
,’field’ => ‘autentication’
,’label’ => ‘Authorization code’
, ‘value’ => ”
,’description’ => ‘PLace the code received from google.’
,’attributes’ => array(
‘class’ => ‘text’
,’required’ => ‘required’
)
,’conditions’ => array(
array(
‘field’ => ‘authenticated’,
‘value’ => false
)
)
));
and i have a hidden field (‘authenticated’, value = true), it pass to me the info if is valid or not, to show my text field ‘authentication’. I want to know if i can call (with javascript) the field authentication to refresh the value. example:
jQuery(‘authenticated’).val(‘false’);
jQuery(‘authentication’).show(); (or something like)