Guest Posted March 23, 2006 Posted March 23, 2006 how could i make a multiple choice with radio inputs for the contact_us page? like: Sex: [ ] Male [ ] Female
Guest Posted March 23, 2006 Posted March 23, 2006 get it from the create_account.php file there is this code: <td class="main"><?php echo tep_draw_radio_field('gender', 'm') . ' ' . MALE . ' ' . tep_draw_radio_field('gender', 'f') . ' ' . FEMALE . ' ' . (tep_not_null(ENTRY_GENDER_TEXT) ? '<span class="inputRequirement">' . ENTRY_GENDER_TEXT . '</span>': ''); ?></td> move it over to the contact us page. Then when you generate the email include the result with the rest of the content like the create account script does.
Guest Posted March 25, 2006 Posted March 25, 2006 thanks a lot for your help I was in need of a radio box field it took me 30 minutes to get it working but it works thanks again
Recommended Posts
Archived
This topic is now archived and is closed to further replies.