is_entry_detail(); $is_form_editor = $this->is_form_editor(); $html_input_type = 'text'; if ( $this->enablePasswordInput && ! $is_entry_detail ) { $html_input_type = 'password'; } $logic_event = ! $is_form_editor && ! $is_entry_detail ? $this->get_conditional_logic_event( 'keyup' ) : ''; $id = (int) $this->id; $field_id = $is_entry_detail || $is_form_editor || $form_id == 0 ? "input_$id" : 'input_' . $form_id . "_$id"; $value = esc_attr( $value ); $size = $this->size; $class_suffix = $is_entry_detail ? '_admin' : ''; $class = $size . $class_suffix; $max_length = is_numeric( $this->maxLength ) ? "maxlength='{$this->maxLength}'" : ''; $tabindex = $this->get_tabindex(); $disabled_text = $is_form_editor ? 'disabled="disabled"' : ''; $placeholder_attribute = $this->get_field_placeholder_attribute(); $input = ""; return sprintf( "