print_render_attribute_string( 'wrapper' ); ?>>
$item ) :
$item['input_size'] = $instance['input_size'];
$this->form_fields_render_attributes( $item_index, $instance, $item );
$field_type = $item['field_type'];
/**
* Render form field.
*
* Filters the field rendered by Elementor forms.
*
* @since 1.0.0
*
* @param array $item The field value.
* @param int $item_index The field index.
* @param Form $this An instance of the form.
*/
$item = apply_filters( 'elementor_pro/forms/render/item', $item, $item_index, $this );
/**
* Render form field.
*
* Filters the field rendered by Elementor forms.
*
* The dynamic portion of the hook name, `$field_type`, refers to the field type.
*
* @since 1.0.0
*
* @param array $item The field value.
* @param int $item_index The field index.
* @param Form $this An instance of the form.
*/
$item = apply_filters( "elementor_pro/forms/render/item/{$field_type}", $item, $item_index, $this );
$print_label = ! in_array( $item['field_type'], [ 'hidden', 'html', 'step' ], true );
?>
print_render_attribute_string( 'field-group' . $item_index ); ?>>
make_textarea_field( $item, $item_index ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
break;
case 'select':
// PHPCS - the method make_select_field is safe.
echo $this->make_select_field( $item, $item_index ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
break;
case 'radio':
case 'checkbox':
// PHPCS - the method make_radio_checkbox_field is safe.
echo $this->make_radio_checkbox_field( $item, $item_index, $item['field_type'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
break;
case 'text':
case 'email':
case 'url':
case 'password':
case 'hidden':
case 'search':
$this->add_render_attribute( 'input' . $item_index, 'class', 'elementor-field-textual' );
?>
print_render_attribute_string( 'input' . $item_index ); ?>>
print_render_attribute_string( 'submit-group' ); ?>>