Viewing 1 reply thread
  • Author
    Posts
    • #3555

      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)

    • #3558
      Steve
      Keymaster

      @leonardotessaro– I just emailed you our latest beta with instructions how to create your own field, where you can inclue your javascript. Let me know if you have any questions.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.