Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

disabling text field on base of checkbox values

$
0
0

1. I have 1, 2 or three checkboxes and textfield. Textfield should be enabled/editable if there is selected let's say 1 checkbox, and locked/not editable when is selected one of other checkboxes. Is it possible to do? If yes, how to do it?

 

2. I have some collection of checkboxes, and I want to limit possible selections to 2. How to do it?

 

Is there any possibility to add on_change event handler to checkboxes?


Viewing all articles
Browse latest Browse all 12130

Trending Articles



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