Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 681

Limiting Checkboxes

$
0
0
Hi Vbforms,

I have a question about checkboxes in Visual Basic. I have 6 Checkboxes available to select but i want to limit the amount a user can select to 4. What is the best way to do this? Can i simply grey out the other two after the 4 has been reached?

Then i want to check if the user has selcted 4 with a button click - How would i check that they have selected 4 not 3, 2 or just the 1

Currently i'm working on the idea (yes i'm pretty new to VB) but any code examples would be appreciated ^_^
Thanks

Viewing all articles
Browse latest Browse all 681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>