I’m passing it into form().
Here’s the complete bit of code that might clarify what I’m attempting.
$charpod = pods( 'characters', $charid )
$fields = array(
'group_membership' => array( 'description' => 'MATCH TO OLD GROUP!
This will activate the new system for this character.','customized_where' => 'secret.meta_value != 1' ),
'rank_assignment' => array( 'description' => 'MATCH TO OLD RANK!
This will activate the new system for this character.' )
);
echo $charpod->form($fields);
Specifically, I want to be able to set the field setting “customized WHERE” in the advanced setting for a relationship field. But I’m not sure there’s a way to accomplish this dynamically based on what version of the form the end user is sent to?
-
This reply was modified 6 months, 3 weeks ago by kitsufox.