Visibility depending on several values of another field I'm having a form with two field. And visibility of the one is depending on the values of the other.

    $form['property'] = array(
    '#title' =&gt; t('Property'),
    '#type' =&gt; 'radios',
    '#options' =&gt; array(
        'private' =&gt; t('Private'),
        'bail' =&gt; t('Bail'),
        'lease' =&gt; t('Lease')
    ),
    '#required' =&gt; TRUE,
);


$form['bank'] = array(
    '#title' =&gt; t('Bank / leasing company'),
    '#type' =&gt; 'textfield',
    '#required' =&gt; TRUE,
    '#states' =&gt; array(
            'visible' =&gt; array(
                ':input[name="property"]' =&gt; array('value' =&gt; 'bail'),
            ),
        ),

);


What comes to ':input[name="property"]'. How do I make it visible when "bail" OR "lease" values are set?
The Conditional Fields module should be able to do that.