Hi!
Im trying to add custom CSS clases to my input fields.
I started to test with the example
<?php
add_action("gform_field_css_class", "custom_class", 10, 3);
function custom_class($classes, $field, $form){
    if($field["type"] == "text"){
        $classes .= " custom_textfield_class";
    }
    return $classes;
}
?>Unfortunately I do not get any outpit in the text inputs.
(I don´t have a live demo, it´s still localhost)
Are there any more requirements to use this filter?
Thanks!
 
				