Skip to main content

Hello-

 

 

I am helping to build a database for my organization and I am wondering if there is a way to create conditional fields. Here's a scenario to illustrate what I mean:

 

 

We have a field about education that asks, "Is the child enrolled in school?"

 

 

If the answer is yes, we want several conditional fields to show up where we can enter school information.

 

 

If the answer is no, we don't need that information and I would prefer to not have to see empty fields on the form if possible. 

 

 

There are lots of scenarios like this-if the answer to something is yes, then we need more info. If the answer is no, then we don't.

 

 

Or, if I define a set of picklist values but none of them apply for a scenario. I'd like to have "Other" be a picklist value and if it is chosen, a field comes up so that the person can give more details on what "Other" means.

 

 

Is this possible within Salesforce? I've used other systems where we've had the conditional logic before, but I haven't seen how to do it here. 

 

 

Thank you for your help!

 

 

 
2 Antworten
  1. 4. Juni 2013, 16:32
    To completely "hide" them like you described you're probably looking at creating a custom Visualforce Page.  

     

    Out of the box you can make fields "conditionally required" using Validation Rules (but the empty fields would be visiable)
0/9000