You need to sign in to do that
Don't have an account?
Robert Adero
Enable a field to be editable
I have a formula field on Record A that updates field 1 from Record B but I would like it to also include a formula that will enable field 1 (or additional field lets say field 2) on Record A to be active and editable when Null Value is shown
- When the value is NOT NULL, take the value from Record B and put in Record A.
- When the value is NULL, allow edit (do not throw error).
- If user tries to edit field 1 directly, throw error.
Thanks for the response......What if I define field 1 as a picklist and when Null is selected then Field 2 (a picklist also) becomes active/editable .......will that work?
If field 1 and field 2 are both on the same Object, then probably you can use depedent picklist in Salesforce to control the logic, then no code needed. In the dependent picklist, you can define that only when field 1 is "Null" (or a default value "N/A") then make field 2 active, otherwise no picklist value available for field 2.