|
When a new customer signs up by cilcking Create an Account, I want have a required field on the form for the customer to identify their industry.
<select id="industry" name="industry"> <option value="foo">bar</option> <option value="foo1">bar1</option> <option value="foo2">bar2</option> </select>
I also want some radio buttons
Do you like pie? <input type="radio" name="likepie" value="1">Yes <input type="radio" name="likepie" value="0">No
I also want some checkboxes
Which pies do you like? <input type="checkbox" name="pies[]" value="p13">cherry <input type="checkbox" name="pies[]" value="p15">lemon <input type="checkbox" name="pies[]" value="p16">mud
I’ve been using this awesome guide http://www.fontis.com.au/blog/magento/custom-customer-signup-attributes to add text fields http://www.fontis.com.au/blog/magento/custom-customer-signup-attributes
How do I add selects, checkboxes, radio buttons, textareas and their respective values and text ? (ie. the foo part and bar part in the select example above)
|