Would anyone be able to tell me the best way to accomplish this? I have not been able to come up with a way to do it.
I have 5 enabled fields on a SDV.
Based on the value of field #4 I want to be able to disable field #5. (i.e. if field #4 = "X" then I want to disable field #5 but then re-enable it after I have done the Save of the record otherwise it stays enabled).
Thank you for your help.
Have you tried overriding enableFields and disableFields? After the run super, you can enable/disable field 5 as necessary.