today i had this form i was doing and i needed to show it if it was checked but i didnt want the user to change it if they did not have the proper permissions.

lets say for some strange reason i have this form and only the administrator can unchecked it but i want to show the option.

like this for example:

Delete Account:

in the above example, you can check and uncheck to delete account, so this is what i wanted to do

Delete Account:

as you can see, i am forcing a checked on the checkbox, and the user cannot change it. so how did i do it, here is the code:

HTML:
<input type="checkbox" name="none" checked disabled="disabled">


hope that helps