true,
'clear_on_focus' => true,
);
}
protected function extra_field_opts() {
return array(
'max' => '5',
);
}
/**
* @param string $name
*/
public function show_on_form_builder( $name = '' ) {
$size = FrmField::get_option( $this->field, 'size' );
$max = FrmField::get_option( $this->field, 'max' );
echo '';
}
protected function prepare_display_value( $value, $atts ) {
FrmFieldsHelper::run_wpautop( $atts, $value );
return $value;
}
/**
* @param array $args
* @param array $shortcode_atts
*
* @return string
*/
public function front_field_input( $args, $shortcode_atts ) {
$input_html = $this->get_field_input_html_hook( $this->field );
$this->add_aria_description( $args, $input_html );
$rows = ( $this->field['max'] ) ? 'rows="' . esc_attr( $this->field['max'] ) . '" ' : '';
return '';
}
}