Title: [Plugin: Comment Extra Fields] radiobutton, checkbox, or select field example
Last modified: August 20, 2016

---

# [Plugin: Comment Extra Fields] radiobutton, checkbox, or select field example

 *  [tulanch](https://wordpress.org/support/users/tulanch/)
 * (@tulanch)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-comment-extra-fields-radiobutton-checkbox-or-select-field-example/)
 * Hello,
 * I am building a group post sort of thing with comments so a player can request
   they are looking for team and/or team can post they are looking for player… the
   respective individual posts as required, but I want include specific details –
   for example a drop down called experience with options of advanced, intermediate,
   entry
 * I can not get a radiobutton, checkbox or select field to display correctly on
   the comment reply page, but they do in the admin comment area, I am using 2011
   dark, seems like it wants to only display text type fields….
 * I’m new to wordpress, but a code hacker from way back
 * Do you have any examples of the implementation of other fields?
 * [http://wordpress.org/extend/plugins/comment-extra-field/](http://wordpress.org/extend/plugins/comment-extra-field/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [SimonaIlie](https://wordpress.org/support/users/simonailie/)
 * (@simonailie)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-comment-extra-fields-radiobutton-checkbox-or-select-field-example/#post-2558071)
 * Hi
    What do you mean by “display correctly”? Ugly display or display at all?
 * In Comment Extra Field plugin in Admin panel when you choose a different input
   type (radio, checkbox, drop down, file etc) there will appear an exclamation 
   mark in a blue circle. When you click on it ( from version 1.6, or mouse over
   till version 1.5) there will appear a tooltip in which you can see examples of
   how to insert information in your fields. E.g. for a drop down, in the field 
   Drop Down Values you can insert value1 + option1; value2 + option2 (entry+Entry;
   intermediate+Intermediate;advanced+Advanced).
 * If you use a custom theme make sure it uses the default WordPress code method`
   comments_template( '', true );`. If the theme customizes the display of comments
   the hooks/filters that Comment Extra Field plugin uses will never be called.
 * You can use the HTML code field to define a custom field and format it with CSS(
   for example for a drop-down, in Comment Extra Fields, fill in the mandatory fields
   as you wish and in Custom HTML code with:
 *     ```
       <select name='experience' id='experience' class='my_drop-down-class'>
           <option value='advanced'>Advanced</option>
           <option value='intermediate'>Intermediate</option>
           <option value='entry'>Entry</option>
       </select>
       ```
   
 * )
 * But…here is a “small issue” that I will try to solve in version 1.7. In Admin
   Panel comment edit you will not be able to see the value the user chose when 
   filling in the comments’ form on front side (just for custom HTML fields).
 * Hope this helps. For more details you can email me.
 *  Thread Starter [tulanch](https://wordpress.org/support/users/tulanch/)
 * (@tulanch)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-comment-extra-fields-radiobutton-checkbox-or-select-field-example/#post-2558125)
 * Thanks for your reply…
 * to answer your question, it displayed only an empty field/box.
 * But following your instructions I did get the following to work..
 * < br > < br > Experience < br >
    <select name=’f3′ id=’f3′ > <option value=”Semi-
   Pro”>Semi-Pro</option> <option value=”D1″>D1</option> <option value=”D2″>D2</
   option> <option value=”D3″>D3</option> <option value=”HighSchool”>HighSchool</
   option> <option value=”Recreation”>Recreation</option> </select>
 * The title/name of the select field would not display no matter what I tried. 
   The selector area was somewhat condensed with respect to the text field that 
   does work. The respective CSS for Comments in the default WordPress 2011 theme
   must be doing something adverse there… so I added some < br > tags along with
   my own text that provides a title. I also needed to ensure that the id was the
   same as in the CEF settings interface so when I went to retrieve in functions.
   php it was able to obtain the selected value. I bet if I dig into the CSS I will
   eventually figure out whats going on, but what I have now works just fine.
 * Thanks for your help
 *  Plugin Author [SimonaIlie](https://wordpress.org/support/users/simonailie/)
 * (@simonailie)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-comment-extra-fields-radiobutton-checkbox-or-select-field-example/#post-2558131)
 * I activated the default WP theme (Twenty Eleven).
    some extra info not related
   to CEF: Tried to upgrade the theme to version 1.3 and put my local wordpress 
   themes admin section into maintenance. In the wordpress folder the failed upgrade
   creates a file with name `.maintenance`. Renamed it so I was able to download
   the last theme’s version and install it manually.
 * [@tulanch](https://wordpress.org/support/users/tulanch/): maybe informations 
   [here would help you](http://elfdreamer.blogspot.com/p/cef-help.html) There are
   some print screens and the code I used to define the field (there is the same
   display in both versions 1.2 and 1.3)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Comment Extra Fields] radiobutton, checkbox, or select field
example’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/comment-extra-field.svg)
 * [Comment Extra Fields](https://wordpress.org/plugins/comment-extra-field/)
 * [Support Threads](https://wordpress.org/support/plugin/comment-extra-field/)
 * [Active Topics](https://wordpress.org/support/plugin/comment-extra-field/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comment-extra-field/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comment-extra-field/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [SimonaIlie](https://wordpress.org/support/users/simonailie/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-comment-extra-fields-radiobutton-checkbox-or-select-field-example/#post-2558131)
 * Status: not resolved