Title: Bug with radio fields
Last modified: August 31, 2016

---

# Bug with radio fields

 *  [emmdub](https://wordpress.org/support/users/emmdub/)
 * (@emmdub)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/bug-with-radio-fields/)
 * Hi There,
 * You’ve got a small bug that’s preventing radio fields from being properly handled.
 * Radio buttons are caught by the first IF at ln162, which only deals with ‘other’
   options. Radio buttons will never hit the code at ln192 which does the actual
   wrapping.
 * I’ve resolved the issue by replacing the ELSEIF with an IF at ln181. There’s 
   bound to be a better way of handling this, it’s just a quick and dirty hack to
   make it work on my end.
 * Cheers!
 * [https://wordpress.org/plugins/gravity-forms-wcag-20-form-fields/](https://wordpress.org/plugins/gravity-forms-wcag-20-form-fields/)

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

 *  Plugin Author [ovann86](https://wordpress.org/support/users/ovann86/)
 * (@ovann86)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/bug-with-radio-fields/#post-7104161)
 * Thanks for reporting this. the elseif were a recent addition to speed up the 
   logic … I had a gut feeling I would miss something !
 * I’ll have a look for a better way to do this and publish an update shortly.
 *  Plugin Author [ovann86](https://wordpress.org/support/users/ovann86/)
 * (@ovann86)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/bug-with-radio-fields/#post-7104457)
 * Hey,
 * Just to confirm, you should find this issue is resolved in version 1.4.4
 * Thanks again for reporting it.
 * Please let me know if you see it happen again, or any other bugs !
 *  [davidmlentz](https://wordpress.org/support/users/davidmlentz/)
 * (@davidmlentz)
 * [10 years ago](https://wordpress.org/support/topic/bug-with-radio-fields/#post-7104501)
 * Hi. Was this resolved in 1.4.4? We just activated 1.4.5 and saw radio button 
   groups disappear on some forms, so I’m wondering if this persists or if a similar
   bug has arisen.
 *  Plugin Author [ovann86](https://wordpress.org/support/users/ovann86/)
 * (@ovann86)
 * [10 years ago](https://wordpress.org/support/topic/bug-with-radio-fields/#post-7104505)
 * Hey,
 * Yea I thought it was resolved, or at least the issue I saw in the code was. But
   it sounds like something else is going wrong if the radio fields are completely
   disappearing from the form.
 * I can’t really place why the radio field would disappear like that.
 * If it’s still a problem could you send me an export of one of the forms it’s 
   happening in?
 * It can be sent to: [jkasd82.100.ovann86@spamgourmet.com](https://wordpress.org/support/topic/bug-with-radio-fields/jkasd82.100.ovann86@spamgourmet.com?output_format=md)
 *  [davidmlentz](https://wordpress.org/support/users/davidmlentz/)
 * (@davidmlentz)
 * [10 years ago](https://wordpress.org/support/topic/bug-with-radio-fields/#post-7104506)
 * OK I’ve sent that. Thanks for looking into it further.

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

The topic ‘Bug with radio fields’ is closed to new replies.

 * ![](https://ps.w.org/gravity-forms-wcag-20-form-fields/assets/icon-128x128.png?
   rev=1734679)
 * [WCAG 2.0 form fields for Gravity Forms](https://wordpress.org/plugins/gravity-forms-wcag-20-form-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-wcag-20-form-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-wcag-20-form-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-wcag-20-form-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-wcag-20-form-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-wcag-20-form-fields/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [davidmlentz](https://wordpress.org/support/users/davidmlentz/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/bug-with-radio-fields/#post-7104506)
 * Status: not resolved