Jump to content


Corporate Sponsors


Latest News: (loading..)

GwilliamP

Member Since 04 May 2005
Offline Last Active Apr 05 2012, 13:43
-----

Topics I've Started

Radio buttons - how to?

09 July 2011, 18:25

I have a HEAVILY modified 2.2 rc2a shop that I will not be upgrading till 3.x is working. There does not seem to be a simple survey contribution that meets my requirements so I decided to make one. I have made a copy of the 'Contact Us' page with all the required files modified to make it work. The input area uses a text area field which is created as follows;

<td><?php echo tep_draw_textarea_field('enquiry', 'soft', 15); ?></td>

This text is added to the email sent to the store owner (me) on clicking the Continue button

I would like to add some Radio Buttons (set of 5) but have not seen osC use them anywhere. Can anyone suggest a method of creating these and also adding the result to the email?

If I get this working I would like to offer this as a contribution. Contributors here will be credited.