I have modified the form for my customers to make a request for special orders and have run into a snag.
Upon trying to add more fields the page will not display correctly.
Like so.... http://www.freshabundance.com/index....pecial%20order
When I remove the additional fields it returns to the correct display.
Here is the code, what am I missing?
Code:
<div id="specialorderContent" class="content">
<fieldset id="specialorder-Info">
<legend>Special Order Information</legend>
<div class="alert forward"><?php echo FORM_REQUIRED_INFORMATION; ?></div>
<br class="clearBoth" />
<label class="inputLabel" for="band_name">Name of the Item:</label>
<?php echo zen_draw_input_field('band_name', zen_output_string_protected($band_name), ' size="30" id="band_name"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
<label class="inputLabel" for="band_genre">Who makes it?:</label>
<?php echo zen_draw_input_field('band_genre', zen_output_string_protected($band_genre), ' size="30" id="band_genre"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
<label class="inputLabel" for="band_country">12 Digit UPC Code:</label>
<?php echo zen_draw_input_field('band_country', zen_output_string_protected($band_country), ' size="30" id="band_country"') ; ?> What is a <a href="<?php echo zen_href_link(FILENAME_PAGE_4); ?>" target="_blank">UPC Code?</a>
<label class="inputLabel" for="band_city">Description:</label>
<?php echo zen_draw_textarea_field('band_city',30, 4, zen_output_string_protected($band_city), 'id="band_city"') ; ?>
<!--additional items -->
<label class="inputLabel" for="item2_name">Name of the Item:</label>
<?php echo zen_draw_input_field('item2_name', zen_output_string_protected($item2_name), ' size="30" id="item2_name"') ; ?>
<label class="inputLabel" for="item2_manufacturer">Who makes it?:</label>
<?php echo zen_draw_input_field('item2_manufacturer', zen_output_string_protected($item2_manufacturer), ' size="30" id="item2_manufacturer"') ; ?>
<label class="inputLabel" for="item2_upc">12 Digit UPC Code:</label>
<?php echo zen_draw_input_field('item2_upc', zen_output_string_protected($item2_upc), ' size="30" id="item2_upc"') ; ?> What is a <a href="<?php echo zen_href_link(FILENAME_PAGE_4); ?>" target="_blank">UPC Code?</a>
<label class="inputLabel" for="item2_description">Description:</label>
<?php echo zen_draw_textarea_field('item2_description',30, 4, zen_output_string_protected($item2_description), 'id="item2_description"') ; ?>
</fieldset>
When I get it all done and working, I'll repost it as a zipped file in case anyone wants to clean it up for and use it for their special orders.
Jacque
Bookmarks