Hello,
I've customized my Contact page with additional fields (here is a great link for instructions on that - http://www.zen-cart.com/showthread.p...ontact-us-form) and have added some radio buttons. I have four items to select from - Architect, Consumer, Designer, Purchasing Agent. It seems by default Purchasing Agent is always selected - I want to keep this list alphabetical but have Consumer be the one that is selected...how can I do that? Sorry I can't share the link to the store yet (in development).
Here is part of the code from the tpl_contact_us_default.php file that has the radio buttons:
Code:
<label class="m-wrap" for="job">Occupation:</label>
<?php echo zen_draw_radio_field('job', 'Architect', 'id="Architect"') . ' '. 'Architect' . '<br/>' . zen_draw_radio_field('job', 'Consumer', 'id="Consumer"'). ' '. 'Consumer' . '<br/>' . zen_draw_radio_field('job', 'Designer', 'id="Designer"'). ' '. 'Designer' . '<br/>' . zen_draw_radio_field('job', 'Purchasing Agent', 'id="Purchasing"'). ' '. 'Purchasing Agent' . '<br/>' ?>
<br class="clearBoth" /><br/>
Bookmarks