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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:08:54+00:00 2026-05-17T20:08:54+00:00

I have an html checkbox that controls a list of checkboxes. I want this

  • 0

I have an html checkbox that controls a list of checkboxes. I want this checkbox to display in a sorta “null” state where it is neither true nor false. Is this possible?

<HeaderTemplate>
   <div style="width:90px">
      Toggle:
      <input id="chkAll"  
      onclick="javascript:SelectAllCheckboxes(this);" 
      runat="server" type="checkbox" />
   </div>
</HeaderTemplate>
  • 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-17T20:08:55+00:00Added an answer on May 17, 2026 at 8:08 pm

    No, a checkbox won’t allow a custom third state. You need to find another way to handle it. A few come to my mind:

    • Use a dropdown list with three values, or three radio buttons
    • Use two checkboxes, one for assigned/null, second for checked/unchecked
    • Use an image and javascript to fill a hidden numeric field (it could be a fake checkbox, but it will not match each browser’s look and feel and could look weird)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my html.beginform I have this checkbox that I want to persist. I'm not
I have some checkbox that looks like this <%= Html.CheckBox(Remember) %> <%= Html.Label(Remember, Keep
if I have this html checkbox list code, how in mvc in my post
I have a bunch of checkboxes, and then this master checkbox that will uncheck,
I have this HTML code which simulates a dropdown multi-checkbox <div> <div class=select> <span>Select
I have a strongly typed partial view CheckBox.ascx that renders a checkbox. This is
I have a list of items and each item has a Html.CheckBox. What is
I have got a checkbox group control that I want to require the user
I have some HTML that displays a text input and 2 checkboxes side by
I have a page with a set of checkbox's, that I want to run

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.