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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:27:16+00:00 2026-06-11T13:27:16+00:00

Are you required applicant? <asp:CheckBox ID=CheckBox1 runat=server Text=Yes /> <asp:CheckBox ID=CheckBox2 runat=server Text=No />

  • 0
    Are you required applicant?
<asp:CheckBox ID="CheckBox1" runat="server" Text="Yes" />
<asp:CheckBox ID="CheckBox2" runat="server" Text="No" />

Actually this is code, i do not know why they use two Checkbox instead of Checkboxlist, but they told me do not change it. and make the two checkbox required(using RequiredFieldValidator).
I know how to use RequiredFieldValidator, but how can i make RequiredFieldValidator control two Checkbox, only pass if one of them selected

  • 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-11T13:27:18+00:00Added an answer on June 11, 2026 at 1:27 pm

    Required Field Validator only works on one control at a time — you’ll want to use Custom Validator, or just write your own client/server validation independent of the ASP.NET validators.

    See also:

    How do I make a checkbox required on an ASP.NET form?

    javascript for two checkboxes in aspx

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

Sidebar

Related Questions

I am including the required files then calling zclip with this code, I tried
I'm required to use Firefox 1.5 (yes I know...) for an in house tool,
CssClass=validate[required,funcCall[checkDate]] this is a property of an <asp:TextBox . and the page has a
Code required to append list (anotherList) to item (id -= l1) of second list
We use @Constraint.Required to validate the fields of our forms, and this generates a
What is the NSFormat required for a string like this? Fri, 15 Jun 2012
I've noticed a lot about jobs being posted that require the applicant to know
[Required(ErrorMessage = Date is required)] [RegularExpression(@^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/((1[6-9]|[2-9]\d)\d{2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((1[6-9]|[2-9]\d)\d{2}))|((0[1-9]|1\d|2[0-8])\/02\/((1[6-9]|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))$, ErrorMessage=Date is not valid must be like (dd/mm/jjjj))]
The 'required' text is showing up to the left of the input box. Similar
I have this code for my entities. I wonder if there is a way

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.