You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
On the Login, Checkout, Create New Account, and Guest Checkout are all missing the text input fields.
Is there anyway to fix this?
Offline
I'm going to assume you're missing all text input fields. I'd check first to be sure that {private}/core/CORE/includes/formfields_textbox.php exists and is OK. That's the include that prints text boxes.
Offline
I have the file, but how do I know if it is okay?
I'll just copy and paste the code.
<?php $id = $this->xhtml_encode($this->globals('core_form.field.id')); $name = $this->xhtml_encode($this->globals('core_form.field.name')); $description = $this->globals('core_form.field.description'); $required = $this->globals('core_form.field.required'); $defaultvalue = $this->xhtml_encode($this->globals('core_form.field.defaultvalue')); $cssstyle = 'formfield'; $maxlength = $this->globals('core_form.field.maxlength'); $size = '25'; $tooltip = ''; $legstyle = 'formfieldleg'; if (($this->globals('core_form.reqnotcomp')) && ($required)) { if ((empty($defaultvalue)) && (!($defaultvalue === '0'))) { $legstyle .= '_rnc'; $cssstyle .= '_rnc'; } } $enabletooltip = $this->globals('core_settings.core.enabletooltips'); $desc_has_tags = $this->has_tags($description); if ((!(empty($enabletooltip))) && (!(empty($description))) && (empty($desc_has_tags))) { $description = @strip_tags($description); $tooltip = ' <span class="tooltip"><img src="media/core/images/tooltip.png" width="12" '; $tooltip .= 'height="12" style="width: 12px; height: 12px; margin: 0px; padding: 0px;" '; $tooltip .= 'title="' . $description . '" alt="" /></span>'; $description = ''; } elseif (!(empty($description))) { $desc_has_tags = $this->has_tags($description); if (empty($desc_has_tags)) {$description = '<p>' . $this->xhtml_encode($description) . '</p>';} } // End of if statment. ?> <fieldset> <legend class="strong"><label for="<?php print $id; ?>"><?php print $name; if ($required) {print '*';} ?></label></legend> <p class="<?php print $legstyle; ?>"><?php print $name; if ($required) {print '*';} ?><?php if ($tooltip) {print $tooltip;} ?></p> <?php if ($description) {print '<div class="formfielddesc">' . $description . '</div>';} ?> <!--<input class="<?php /*print $cssstyle; ?>" type="text" name="<?php print $id; ?>" id="<?php print $id; ?>" value="<?php print $defaultvalue; ?>" size="<?php print $size; ?>" <?php if ($maxlength) {print 'maxlength="' . $maxlength . '" ';}*/ ?>/>--> </fieldset> <?php $formfields_ajax_function = $this->globals('core.formfields_ajax_function'); if (!(empty($formfields_ajax_function))) { $formid = $this->globals('core_form.formid'); $inputid = $this->globals('core_form.field.id'); $formfields_ajax_params = $this->globals('core.formfields_ajax_params'); if (!(empty($formfields_ajax_params))) {$js_options = $formfields_ajax_params;} else {$js_options = '{\'formid\': \'' . $formid . '\', \'inputid\': \'' . $inputid . '\'}';} $js_docready = 'jQuery(\'#' . $inputid . '\').keyup(function(event){'; $js_docready .= 'if (event.which == 13) {event.preventDefault(); return false;} '; $js_docready .= 'if (window.mytimeout) {window.clearTimeout(window.mytimeout);} '; $js_docready .= 'window.mytimeout = window.setTimeout(function(){'; $js_docready .= 'return ' . $formfields_ajax_function . '(' . $js_options . ');'; $js_docready .= '}, 1200);});'; $this->append_global_array('core.js_docready',$js_docready); } // End of if statement. ?>
Offline
Never mind, found the problem. Someone commented out the input field.
Thanks for helping!
Offline