Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7916743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T14:54:54+00:00 2026-06-03T14:54:54+00:00

I have a form that shows/hides sections of the form based on checkbox select.

  • 0

I have a form that shows/hides sections of the form based on checkbox select.

Part of the form that is hidden contains radio buttons:

<div class="input grid_4 alpha omega suffix_8">
        <label>Company Name</label>
        <div class="clear"></div>
        <label class="radio inline">
        <input type="radio" value="homeAddress" id="homeAddress" name="addressSelect">
        Home </label>
        <label class="radio inline">
        <input type="radio" value="bizAddress" id="bizAddress" name="addressSelect">
        Business </label>
        </div>

When I show that part of the form, and interact with the radio buttons, I get the following error:

Error: element is undefined
Source File: …./js/jquery.validate.js
Line: 674

Line 674:
idOrName: function(element) {
return this.groups[element.name] || (this.checkable(element) ? element.name : element.id || element.name);
},

I tried ignoring the radio buttons based on name, but it still throws an error.
Additionally, if the radio buttons are not hidden (remove all show/hide functionality), there is no error.

Thoughts?

see fiddle: http://jsfiddle.net/jasonday/fBZQ3/

uncheck “this is also my shipping address” and then interact with the radio buttons.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T14:54:57+00:00Added an answer on June 3, 2026 at 2:54 pm

    I got no errors after simply assigning a name property to the checkbox.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a select field that shows different elements of my form based on
I have an div element <div id=form><form id=formstuff>form input stuff</div></div> that shows/hides (or toggles)
I have a simple peice of jQuery code that submits a form and hides/shows
I have a form that shows/hide different info depending on which radio button you
I have form that will hide or show sections based upon the form input.
I have a form that shows results from a database query, these results can
So I have a form that has a listbox that shows like a ledger.
I have a form with a list that shows information from a database. I
I have a jquery function that shows/hides spans that look like tips when I
I have a form select replacement that uses jQuery to show options in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.