Conditional display of fields
-
Is the conditional display of fields available or information available on how to accomplish this? I would like to create a form field that is dependent on another field. I noticed that there is an if in the documentation, but didn’t see any particulars on how to conditionally display based on another value.
So, in this example, field 2 would display only if field 1 returns true.
Thank you for your support, I can’t thank you enough for this framework.
array(
‘field_id’=> ‘field1’,
‘type’ => ‘radio’,
‘title’ => ‘radiof’,
‘lable’ => ‘array(‘1’=>’Yes’, ‘0’=>’No’)),
array(‘field_id’ => ‘field2’,
‘type’ => ‘text’,
‘title’ => ‘Name’,
‘if’ => \\If radio field equals 1 return true
- The topic ‘Conditional display of fields’ is closed to new replies.