function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kumar borra 6kumar borra 6 

I have an issue . That is we need to remove "industry" field if the account type is "Prospect".

I have an issue . That is we need to remove "industry" field if the account type is "Prospect".
Soniya RautSoniya Raut
Do you mean that the value should be cleared from the industry field if account type is Prospect?
kumar borra 6kumar borra 6
I meen remove "Industry Field" (not value from the industry )If Account type is "prospect". 
Patrick LEBRETTEPatrick LEBRETTE
Hello,

you can do either a validation rule or a workflow rule:
- the validation rule will prevent user from creating/updating a account with prospect type if the industry field is filled in. The user will have to clear it
- the workflow rule will set the industry field to blank if the account type is equal to prospect

Regards