text area max lenght
-
Hi,
I’d like to set a max lenght for my thextarea, I see this code:
add_filter( ‘caldera_forms_field_attributes’, function( $attrs, $field, $form ){
if( ‘fld_456’ === $field[ ‘ID’ ] && ‘number’ === Caldera_Forms_Field_Util::get_type( $field, $form ) ){
$attrs[ ‘max’ ] = 75;
}
return $attrs;
}, 20, 3 );But where do I have to put it?
Many thanks.
Davide
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘text area max lenght’ is closed to new replies.