0

I have a long list of options.

My users can select many of them, but they must also star one and only one of the options selected so.

  • ... [ ] Option 1
  • ... [ ] Option 2
  • ... [ ] Option 3
  • ... [ ] Option 4
  • ... [ ] Option 5
  • ... [ ] Option 6

If the user selects Option 3, it becomes:

  • ... [ ] Option 1
  • ... [ ] Option 2
  • (*) [x] Option 3
  • ... [ ] Option 4
  • ... [ ] Option 5
  • ... [ ] Option 6

If the user also selects Option 2 and Option 6, it's becomes:

  • ... [ ] Option 1
  • ( ) [x] Option 2
  • (*) [x] Option 3
  • ... [ ] Option 4
  • ... [ ] Option 5
  • ( ) [x] Option 6

My Questions:

  • Do you know a tool in Jquery.chosen which can emulate this?
  • Do you feel there is a problem in the above proposition?

It's similar to the following question: Is it a good/acceptable practice to combine checkboxes with radio buttons for one question? but not exactly the same.

  • I think you should clarify more about context. Do you have to pick a list subset and mark default one? There may be better solutions for this but a general answer may not apply well. – Adriano Repetti Sep 22 '15 at 12:55
  • Do you have to pick a list subset and mark default one? <- exactly. – Moosh Sep 29 '15 at 8:09
  • ie : assign to a resource many categories but choose the primary one. – Moosh Sep 29 '15 at 8:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.