programmher
Programmer
This should be a simple issue; but I am unable to make my checkboxes un-editable. Here is an example of my code:
<input type="checkbox" name="clientnumber" value="Yes" <Cfif "#clientnumber#" EQ "Yes">checked</cfif>>Client Number
If the database value of "clientnumber" is true, the value is reflected as true. If the value is true, I do not want the user to be able to change it on the form (although any changes won't be updated to the database).
I've tried the "readonly" option but it does not work. What am I missing?
<input type="checkbox" name="clientnumber" value="Yes" <Cfif "#clientnumber#" EQ "Yes">checked</cfif>>Client Number
If the database value of "clientnumber" is true, the value is reflected as true. If the value is true, I do not want the user to be able to change it on the form (although any changes won't be updated to the database).
I've tried the "readonly" option but it does not work. What am I missing?