You need to sign in to do that
Don't have an account?
Paulo Castro
Newbie question - Picklist not null field
Hi guys,
I'm starting to code my app using Force plataform.
At this moment I'm creating my custom objects, and one of the fields is a picklist that I want to make required to be chose, but on the other side I don't want to make the first option default.
So I tryed to use the required attribut equal to true, but I got the following error message:
Can not specify 'required' for a CustomField of type Picklist
How could I handle this?
Tnx in advance.
Best regards,
PH
You can also make the custom picklist field required on the page layout. Edit the page layout, double-click on the picklist field and check the Required box.
Hope that helps,
Sati
All Answers
Use a validationrule
ISPICKVAL( YourField__c ,'')
You can also make the custom picklist field required on the page layout. Edit the page layout, double-click on the picklist field and check the Required box.
Hope that helps,
Sati