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

  • Home
  • SEARCH
  • 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 6146925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:01:47+00:00 2026-05-23T19:01:47+00:00

this may be a weird question but I have several radio button groups with

  • 0

this may be a weird question but I have several radio button groups with labels for each group. when one radio button group is filled i want to highlight the label of the next group to be filled in sequence. So some how when the first radio button group is filled it will show the next group to be filled by highlighting the label of it. Please tell put me on the right direction with CSS and Coding.Thank you

  • 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-05-23T19:01:48+00:00Added an answer on May 23, 2026 at 7:01 pm

    you have to use javascript to do something like this. First you have to create your radiobutton with incremental names like:

    <input type="radio" name="group1" value="Milk"> Milk<br>
    <input type="radio" name="group1" value="Butter" checked> Butter<br>
    <input type="radio" name="group1" value="Cheese"> Cheese
    <hr>
    <input type="radio" name="group2" value="Water"> Water<br>
    <input type="radio" name="group2" value="Beer"> Beer<br>
    <input type="radio" name="group2" value="Wine" checked> 
    

    If you use jQuery for example you can listen for changes:

    $('input').change(function(element){
        var index = parseInt($(element).attr('name').replace("group", ""));
        $('input[name="group' + (index + i) + '"]').first().focus();
    });
    

    This function attach an event listener to each input element when the value changes it takes the current group number from the element that generated the user and put the focus on the first element in the next group. I haven’t tried this but it should work. I’m not sure that input of type radio fires change event but you can use the click event in the same way

    Hope it helps

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

Sidebar

Related Questions

Hi this may seem like a weird question, but here's my situation: I have
This may be a weird or stupid question, but I have the following code
This may sound like a weird question but is there any where I can
This may be a bit of a weird question, but is there any reliable
This may seem quite a weird question but I'm quite confused right now and
I know this may sound like a weird question to ask but I would
This may sound like a weird question but I will give it a shot
This question may sound weird, but it's needed for injecting code to a binary.
This may seem like a weird question but thought I would ask here before
This may seem like a daft question, but i was wondering about how to

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.