Read Only Checkbox on Form

I need to enable/disable some check boxes on a form depending on who is logged in. I’m using sc_field_readonly during the OnLoad event to set the check boxes to read only but when the application is loaded the check boxes and their underlying data isn’t displayed, the area on the page is blank.

Is there a way to display a checkbox but not allow it to be changed by the user?

Thank you!

[QUOTE=Brendanboyle;21481]I need to enable/disable some check boxes on a form depending on who is logged in. I’m using sc_field_readonly during the OnLoad event to set the check boxes to read only but when the application is loaded the check boxes and their underlying data isn’t displayed, the area on the page is blank.

Is there a way to display a checkbox but not allow it to be changed by the user?

Thank you![/QUOTE]

This sounds like a bug to me. But would disabling be an option? Then the field should be grayed out.

Hi Albert,

Thank you for the response. I’ve set the check boxes to disabled and that does works fine for what I need to do.

Can you please point me to where the best place is to report possible bugs and I’ll log this there.

Thanks again for your help.

There’s a forum topic called bugs here. It sounds like a bug but on second thoughts: I can imagine that setting a read-only field is pretty easy. But a checkbox setting readonly is difficult, try it in html. So I guess it’s due to the characteristics of a checkbox. But I would report it anyway :wink: