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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:34:01+00:00 2026-05-13T05:34:01+00:00

I understand that if the all the inputs being entered as a, b, and

  • 0

I understand that if the all the inputs being entered as a, b, and c and all the checkbox are checked then the output would look like this.

response.write( request.form(“a1”) ) = a, b, c
response.write( request.form(“chk”) ) = 1, 1, 1

Is there a way to determined if the corresponding input text checkbox is checked if not all checkbox are checked?
ie: the input is being entered as a, b, and c then only the corresponding checkbox at “c” is checked.

The output of this will be:

response.write( request.form(“a1”) ) = a, b, c
response.write( request.form(“chk”) ) = 1

<form name="myForm">
<input type="text" name="a1" />
<input type="checkbox" name="chk" value="1" />

<input type="text" name="a1" />
<input type="checkbox" name="chk" value="1" />

<input type="text" name="a1" />
<input type="checkbox" name="chk" value="1" />

<input type"submit" value="submit" />
</form>
  • 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-13T05:34:01+00:00Added an answer on May 13, 2026 at 5:34 am

    You’re going to need to change the names of your inputs. The only type of input that is intended to have multiple instances sharing a name is a radio button. That is done so you can get the mutually-exclusive select behavior that radio buttons are designed for.

    In this case, you’re going to want to give each text and checkbox input a different name. So your HTML would look like:

    <form name="myForm">
    <input type="text" name="a1" />
    <input type="checkbox" name="chk1" value="1" />
    
    <input type="text" name="a2" />
    <input type="checkbox" name="chk2" value="1" />
    
    <input type="text" name="a3" />
    <input type="checkbox" name="chk3" value="1" />
    
    <input type"submit" value="submit" />
    </form>
    

    Then simply reference your third checkbox with:

    response.write( request.form("chk3") ) 
    

    It would require you to write a little code if you wanted the results to appear in a nice comma delimited list like you’ve shown, but I would argue that’s appropriate.

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

Sidebar

Related Questions

I'm lead to understand that the following grants all proveleges to all databases that
I understand that the browser does all the work in processing client side scripts
I understand that prototype method is shared by all instances of an object in
The question says it all. I understand that VC11 is currently only in beta,
First of all, I do understand, that MVC 3 default template's Content folder is
Before answering this question, understand that I am not asking how to create my
I understand that Exceptions are for exceptional cases [a], but besides just being repeated
I'm parsing a CSV file that looks like this: E1,E2,E7,E8,,, E2,E1,E3,,,, E3,E2,E8,,, E4,E5,E8,E11,,, I
I understand that Web Site Projects compile source on-the-fly, and Web Application Projects pre-compile
I understand that CoCreateInstance finds the COM server for the given class id, creates

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.