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 814881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:35:39+00:00 2026-05-15T01:35:39+00:00

Male <input value="V1" checked="checked" name="R1" type="radio"> Female: <input name="R1" value="V2" type="radio"></p> <input name="C1" value="ON"

  • 0
Male <input value="V1" checked="checked" name="R1" type="radio">
Female: <input name="R1" value="V2" type="radio"></p>


<input name="C1" value="ON" type="checkbox">Reading 
<input name="C2" value="ON" type="checkbox">Dressing 
<input name="C3" value="ON" type="checkbox">Make up
<input name="C4" value="ON" type="checkbox">Playing 

Just consider the situation like :

Here Male radio button is checked. I want check box Reading and playing Should be automatically checked < Default or >

Suppose Female checked – Make up and dressing

I want to check automatically.

  • 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-15T01:35:40+00:00Added an answer on May 15, 2026 at 1:35 am
        function select_radio(val){
          if (val=="male"){
        document.getElementById("C1").checked = true;
        document.getElementById("C2").checked = true;
        document.getElementById("C3").checked = false;
        document.getElementById("C4").checked = false;
          }
          else{
        document.getElementById("C3").checked = true;
        document.getElementById("C4").checked = true;
        document.getElementById("C1").checked = false;
        document.getElementById("C2").checked = false;
          }
    
    
    
        }
    
    
    Male <input value="V1" checked="checked" name="R1" type="radio" onclick="select_radio('male')">
    Female: <input name="R1" value="V2" type="radio" onclick="select_radio('female')">></p>
    
    
    <input name="C1" id="C1"  value="ON" type="checkbox">Reading 
    <input name="C2" id="C2"  value="ON" type="checkbox">Dressing 
    <input name="C3" id="C3" type="checkbox">Make up
    <input name="C4" id="C4" type="checkbox">Playing 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this <input type=radio name=male id=male value=male/> <label for=male>M</label> <input type=radio name=female id=female
I have a form with the following... <dt class=idx><span>Sex:</span></dt><dl><fieldset>Male<input type=radio name=Sex value=Male checked>Female<input type=radio
Example to save gender <form action=save.php?id=<?=$id?> method=post> <p><label><input name=gender type=radio value=male <?php if($gender=='male'){?>checked=checked<? }?>
Pleas help me I had a to radio <input type=radio name=sex value=male /> Male<br
I have this: <td> <input id=sex name=sexFemale value=female type=radio> <label for=sexFemale> Kvinna </label> </td>
i have html like that <input type=radio name=Gander value=M id=Male />Male <input type=radio name=Gander
I have two radio button <input tabindex=3 type=radio name=gender id=gender value=M>Male&nbsp;<input tabindex=4 type=radio name=gender
I have an html form with: <input name=gender dojoType=dijit.form.RadioButton id=male checked=checked>male <input name=gender dojoType=dijit.form.RadioButton
<form action=index.php?page=checkin method=post name=regForm> Fullständiga namn: <input name=full_name type=text id=full_name class=required> <br > Email:
I asked this question <input type="hidden" functionality issue a couple of days ago and

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.