New Zenner
- Join Date:
- Jan 2009
- Posts:
- 59
- Plugin Contributions:
- 0
Weird Extra Field in Form
In my log in / create account page at https://www.phoenixwoodworks.net/store/index.php?main_page=login have a weird extra field after the drop down selector for STATE. Can't inspect it in Firebug. Can't enter text. Cursor won't focus on click. LOOKS like an input field but does not act like one.
Probably an open tag or stray bit of code that the browser does not know how to deal with. Here's the pertinent portion of my tpl_modules_create_account.php.
<?php
if (ACCOUNT_STATE == 'true') {
if ($flag_show_pulldown_states == true) {
?>
<label class="inputLabel" for="stateZone" id="zoneLabel"><?php echo ENTRY_STATE; ?></label>
<?php
echo zen_draw_pull_down_menu('zone_id', zen_prepare_country_zones_pull_down($selected_country), $zone_id, 'id="stateZone"');
if (zen_not_null(ENTRY_STATE_TEXT)) echo ' <span class="alert">' . ENTRY_STATE_TEXT . '</span>';
}
?>
<?php if ($flag_show_pulldown_states == true) { ?>
<br class="clearBoth" id="stBreak" />
<?php } ?>
<label class="inputLabel" for="state" id="stateLabel"><?php echo $state_field_label; ?></label>
<?php
echo zen_draw_input_field('state', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . ' id="state"');
if (zen_not_null(ENTRY_STATE_TEXT)) echo ' <span class="alert" id="stText">' . ENTRY_STATE_TEXT . '</span>';
?>
<br class="clearBoth" />
<?php
}
?>
I've searched and searched for the problem and cannot find the answer. Would welcome fresh eyes.
Thanks
Fine Handcrafted Boxes & Custom Woodworking
[email protected]
http://www.phoenixwoodworks.net