I’m using a filter to create a dropdown in a list field column:
add_filter( 'gform_column_input_130_192_3', 'set_column_years_exp', 10, 5 );
function set_column_years_exp( $input_info, $field, $column, $value, $form_id ) {
return array( 'type' => 'select', 'choices' => 'Select...,Less than one year,1 to 3 years,3 to 5 years,More than 5 years' );
}
It works fine, but when activated it seems to disable the Required setting on the field (required will not work). Wondering if there might be some obvious issue with the filter?
Pretty clear looking at this now that there’s no way Required can work since “Select…” is a value and the form assumes it’s been completed by the user.