Connecting Tech Pros Worldwide Forums | Help | Site Map

Donot allow Checkbox to uncheck

Newbie
 
Join Date: Apr 2008
Posts: 19
#1: Sep 26 '08
Hi,
I want a checkbox in such a way that if it is uncheck the user can check it.
but if it is checked the user should not be able to uncheck it .
can anyone please help.

Regards

Member
 
Join Date: Dec 2007
Posts: 81
#2: Sep 29 '08

re: Donot allow Checkbox to uncheck


Can you use JavaScript on this?
You can use the OnClick event of the checkbox item.. like
Expand|Select|Wrap|Line Numbers
  1. onclick="javascript:this.checked=true;"
Reply