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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:31:35+00:00 2026-06-10T14:31:35+00:00

I need to use checkbox as radiobutton. In my case I’d like to define

  • 0

I need to use checkbox as radiobutton.
In my case I’d like to define a checkbox group but I don’t know why.
If I select one checkbox, I’d like that other checkbox are deselecting

Could you help me ?

Thanks

  • 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-10T14:31:36+00:00Added an answer on June 10, 2026 at 2:31 pm

    If there is a static amount of radio buttons you need, you could use Spark States.

    <s:states>
        <s:State name="check1"/>
        <s:Stage name="check2"/>
    </s:States>
    
    <s:CheckBox selected="false" selected.check1="true" click="currentState='check1'"/>
    <s:CheckBox selected="false" selected.check2="true" click="currentState='check2'"/>
    

    When you click the first one, it triggers the “check1” state in which the first check box is selected and the other is unselected. Clicking the second one does the opposite. Obviously, this is not as flexible as some would hope. But if it’s for an interface element (such as an options menu), it’s perfect.

    States are incredibly useful if you understand how and when to use them. This past weekend, I created an all-Flex slideshow using them and it is a great example of how powerful that simple little array can be.

    EDIT: I just threw together a simple app to test this, and it doesn’t look like it will work using click. I’m sure you could tinker with another event to get it to work, though. Sorry this didn’t work.

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

Sidebar

Related Questions

I need to dynamically generate radio or checkbox by jQuery. I use the following
I need to use the objdump and readelf commands in my application that runs
I have a dynamic application that need to create a window interface with checkbox.
I am trying to use a checkbox that is dynamically declared in an .vb
I have a UI that can either use a checkbox or a pair of
I have a construction that checks if a checkbox is checked (who can use
I need a php script that will use the values of the form's checkboxes
I need use this method with three distinct classes: Orders, Customers, Suppliers public void
I need use this code: <%= button_tag :class => btn btn-primary do %> <%=
I have installed Matlab r2010a on my computer I need use the function xlsread

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.