Title: Radio input validation error
Last modified: January 8, 2020

---

# Radio input validation error

 *  [susannakosic](https://wordpress.org/support/users/susannakosic/)
 * (@susannakosic)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/radio-input-validation-error/)
 * Hi,
    I am trying to include a radio input group into a repeatable field and I
   cannot get it working.
 * Form tab code:
 *     ```
       [field_group delegates id="delegates" tabindex:1]
           [radio radio-food use_label_element default:1 "None" "Halaal" "Vegetarian" "Vegan" "Kosher" "Other"]
       [/field_group]
   
       [submit "Register"]
       ```
   
 * When form is submitted, I get the error:
    “One or more fields have an error. 
   Please check and try again.”
 * Is there anything wrong in the code snippet above?
    -  This topic was modified 6 years, 4 months ago by [susannakosic](https://wordpress.org/support/users/susannakosic/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fradio-input-validation-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Felipe Elia](https://wordpress.org/support/users/felipeelia/)
 * (@felipeelia)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/radio-input-validation-error/#post-12308146)
 * Hi Susanna,
 * Sorry to read you’re having problems with the plugin. That page is password-protected,
   so I couldn’t see it in action. Did you try changing the radio name from “radio-
   food” to just “food”?
 * Thanks!
 *  Plugin Author [Felipe Elia](https://wordpress.org/support/users/felipeelia/)
 * (@felipeelia)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/radio-input-validation-error/#post-12308179)
 * Actually, now I saw your message [here](https://wordpress.org/support/topic/validation-errors-52/#post-12306137).
   For organization purposes, let’s keep our communication here on this topic, ok?
   🙂
 * It seems there is a problem with the fields’ names… In the case of the emails,
   can you please test it without setting an id? Like this:
 *     ```
       [field_group delegates id="delegates" tabindex:1]
           <label>Your Email (required) [email* your-abc]</label>
       [/field_group]
       [submit "Register"]
       ```
   
 * Thanks
 *  Thread Starter [susannakosic](https://wordpress.org/support/users/susannakosic/)
 * (@susannakosic)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/radio-input-validation-error/#post-12317572)
 * Hi Felipe,
    thank you for replying so quickly.
 * Regarding the radio button group issue, I´ve changed the CF7 code to:
 *     ```
       [field_group delegates id="delegates" tabindex:1]
        [radio food use_label_element default:1 "None" "Halaal" "Vegetarian" "Vegan" "Kosher" "Other"]
       [/field_group]
       [submit "Register"]
       ```
   
 * Apparently it does not make a difference, as results in “One or more fields have
   an error. Please check and try again.” error on form submit.
 * Regarding the issue with the required input text inside a repeatable field, I
   ´ve removed the id attribute from the input as was described in [this topic](https://wordpress.org/support/topic/validation-errors-again/),
   so that CF7 code looks like:
 *     ```
       [field_group delegates id="delegates" tabindex:1]
           <label>Your Email (required)[email* your-abc]</label>
       [/field_group]
       [submit "Register"]
       ```
   
 * Still, no luck. On submitting the form I get the same error: “One or more fields
   have an error. Please check and try again.”.
 * ATM the workaround to keep form functionality after the upgrade was to remove
   the required attribute from inputs in repeatable fields, and replacing radio 
   buttons for text inputs as I could not figure out a way to get validation working
   with these 2 types.
 *  Plugin Author [Felipe Elia](https://wordpress.org/support/users/felipeelia/)
 * (@felipeelia)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/radio-input-validation-error/#post-12345908)
 * Hi Susanna,
 * I’ve tested both codes here and they both worked well (WP 5.3.2 and TwentyTwenty
   Theme).
 * Can you please copy and paste your entire form AND list your theme and active
   plugins? That may help us to find where the problem really is (some incompatibility,
   probably). It would be nice if you could give a look at the “Network” tab in 
   your browser Developer Tools. Right after clicking on Register it’ll trigger 
   a request to the CF7, the response to that request may also help us.
 * Thanks!

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

The topic ‘Radio input validation error’ is closed to new replies.

 * ![](https://ps.w.org/cf7-repeatable-fields/assets/icon-256x256.png?rev=2942207)
 * [Contact Form 7 - Repeatable Fields](https://wordpress.org/plugins/cf7-repeatable-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-repeatable-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-repeatable-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-repeatable-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-repeatable-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Felipe Elia](https://wordpress.org/support/users/felipeelia/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/radio-input-validation-error/#post-12345908)
 * Status: not resolved