File "textarea.php"

Full path: /home/dora/public_html/wp-content/plugins/jet-engine/templates/forms/fields/textarea.php
File size: 696 bytes
MIME-type: --
Charset: utf-8

<?php
/**
 * Textarea template
 */

$this->add_attribute( 'placeholder', $args['placeholder'] );
$this->add_attribute( 'required', $this->get_required_val( $args ) );
$this->add_attribute( 'name', $this->get_field_name( $args['name'] ) );
$this->add_attribute( 'data-field-name', $args['name'] );
$this->add_attribute( 'id', $this->get_field_id( $args ) );

if ( ! empty( $args['minlength'] ) ) {
	$this->add_attribute( 'minlength', $args['minlength'] );
}

if ( ! empty( $args['maxlength'] ) ) {
	$this->add_attribute( 'maxlength', $args['maxlength'] );
}

?>
<textarea class="jet-form__field textarea-field"<?php $this->render_attributes_string(); ?>><?php
	echo $args['default'];
?></textarea>