make a custom field editable based on a checkbox

ACBuCe
ACBuCe Member Posts: 2
Hello,

I have a task to make a custom field editable based on a checkbox,
If checkbox is checked the user can edit the specific field.

I have create a boolean variable EditCustomField,
And in Onvalidate of the checkbox and o Onaftergetrecord (page) i have done this:

IF Edit = TRUE THEN
EditCustomField := TRUE;

it does not work, could you help me please?

Answers