+ Start a Discussion
Will McLemoreWill McLemore 

Require a field based on a checkbox

How do I require a number field based on the input from a checkbox field?


AdminisaurusRexAdminisaurusRex

Use a Validation Rule:

 

AND(  CHECKBOX_FIELD=FALSE,    NUMBER_FIELD="")

 

Something like that.

 

JakesterJakester
Rex has the right idea, but the syntax needs a little help.

Something like

and(
     checkbox__c
    ,isnull(numberfield__c)
)

should do the trick

 
jisaacjisaac
Jake,
What would it be if the required field was a picklist, not a number field?

Jane
JakesterJakester
isnull(), I think.