Support

Account

Home Forums Add-ons Flexible Content Field Populate select fields dynamically using JavaScript API Reply To: Populate select fields dynamically using JavaScript API

  • Oh, and if you want to just set one value and do the rest in JS and AJAX

    
    $field['choices'][$field['value']] = $field['value'];
    

    will usually set the current value as a choice so that the current choice is shown.