Robert Zelník Posted October 29, 2011 Share Posted October 29, 2011 I would like to create a radio button field. I know how to create a single checkbox: Add New Field, Type: Checkbox. This works well, but how can I create radio buttons or a selectbox with multiple options to choose? I don't see this options in the fieldtype dropdown menu, although I have Radio Buttons, Select and Select Multiple inputfields activated. Link to comment Share on other sites More sharing options...
Soma Posted October 29, 2011 Share Posted October 29, 2011 There's no radio field type. You can choose radio boxes as an inputfield for page reference field. If you create pages as categories for example you can make them selectable, and use a select or radiobox,checkbox as inputfield type. There's actually a "select (aka drop down)" custom fieldtype by hani see "download section" or here direct link: http://processwire.com/talk/index.php/topic,245.0.html it creates select list from a string like "1:=Poor, 2:=Excellent" . It would be easy to create a custom radio field that does the same. Depending on what you want to archive, it could make sense to do it with the page reference field as it will give you great additional posibilities. Link to comment Share on other sites More sharing options...
Robert Zelník Posted October 30, 2011 Author Share Posted October 30, 2011 Page Reference Field works well. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now