Pods Form – Field Options
-
When using the “form” function is it possible (and if so how) to use a where clause on one of the fields?
For example:
$where_clause = “name <> ‘xyz'”;
$fields = array (‘relationship_field_B’ =>array (‘where’ => ”.$where_clause.”));
echo $mypod->form($fields);In this case ‘relationship_field_B’ would be a drop down in the form. The goal is to limit what options appear in the drop down based on some condition defined in the where clause.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Pods Form – Field Options’ is closed to new replies.