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

Restrict record type on Create

Hi,  I would like to allow users to 'Create' one Opportunity Record Type (Prospect) and only  Edit the other record types.  However, when the user creates a new Opportunity, they see a dropdown of multiple record types and can choose the wrong ones.  Any way to suppress or lock the record type on Opportunity Create screen?  I know I can default it on the profile but the user can still change record type on the create screen.  I'm hoping I don't have to code a custom Visual Force screen  for the Create.


seems you'll  have to overrite the new button of Oppty with a VF page. and then

The next step is to select the following checkbox : Skip Record Type Selection Page (Override Standard Button or Link>New)


try validatiom rule
. do not allow the user to save the process