You need to sign in to do that
Don't have an account?

Urgent please, Disabling checkbox in Visualforce
Hi,
I have 3 Checkboxes(custom fields) for an Object : All, One and Two
In edit page which is a Vf page for that Object, on checking All checkbox, One and Two checkbox should be disabled.
In detail page, once I click on Edit and come to the edit page, the All checkbox is displaying checked(which I did in above step), but One and Two checkbox are also displaying enabled.
How to achieve this? I mean even after clicking on Edit, and if All checkbox is true(or checked), the One and Two checkbox shud be disabled by default.
Thanks a lot!
I have 3 Checkboxes(custom fields) for an Object : All, One and Two
In edit page which is a Vf page for that Object, on checking All checkbox, One and Two checkbox should be disabled.
In detail page, once I click on Edit and come to the edit page, the All checkbox is displaying checked(which I did in above step), but One and Two checkbox are also displaying enabled.
How to achieve this? I mean even after clicking on Edit, and if All checkbox is true(or checked), the One and Two checkbox shud be disabled by default.
Thanks a lot!
I think you have overridden ONLY New Button with your Visualforce Page, but not the Edit button (Page). If Edit page is also a Visualforce then you can achieve the expected functionality..
Share the code so we could suggest
Thank you
BLearn