Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Can list of check boxes be set up so only one item selected?

$
0
0

Replies: 0

If you scroll down to “Visit Details” and click on docent-guided tour, a list of check boxes pops up on the right with the title: Which tour would you like to take: (Choose only one) *

Right now, any of them can be chosen but I’d like for them to only be able to choose one. Previously, I tried radio buttons which do allow you to check just one but on the down side you cannot uncheck a button once selected which is really frustrating if you make a mistake! You have to reload the page thus losing all your work. Therefore I switched to check boxes.

To complicate matters, there is a conditional in there too. When you click on either “Thinking through Art (6th grade and up)” or :Spanish Art in Context (Spanish classes),” two more check boxes appear, of which either or both can be selected.

It got kind of complicated putting all this together. In fact I had to uncheck “Required” from all the check boxes code or I would get an error upon submission where I had to check more items than I wanted to be able to submit.

I hope all this makes sense and would appreciate any insights and help.

Thanks. Pam


Viewing all articles
Browse latest Browse all 59525

Trending Articles