Adding a dropdown list or radio button list to the checkout form.

Permalink
A client would like to add a required "How did you hear about us?" element to the checkout form with a list of pre-defined answers.

The only options available are text, text area, checkbox, date/time, number, address and order adjustment.

How do I add a dropdown or radio button list to the checkout form?

Thanks.

1 Attachment

 
WillemAnchor replied on at Permalink Reply
WillemAnchor
This would require some programming.

There are quite a few (free) attribute add-ons on the marketplace that could be used as an example. These would give you a lead on how to install an attribute.

Also you could look at /concrete/attributes, to see how the built-in attributes are made.
WillemAnchor replied on at Permalink Reply
WillemAnchor
Or use the select attribute ^^

check it here:
/dashboard/system/attributes/types
BlackHorseMedia replied on at Permalink Reply
Thank you for your help :)

I have tried several different searches and urls to find this, including "http://www.concrete5.org/marketplace/addons//dashboard/system/attributes/types" but I'm not having any luck. I am new to Concrete 5 and don't know much about it.
WillemAnchor replied on at Permalink Reply
WillemAnchor
with /dashboard/system/attributes/types
I mean:
yoursiteURL/index.php/dashboard/system/attributes/types

Here you can enable the select attribute for pages or users.
After this you can create an attribute of this type.