- This topic has 1 reply, 2 voices, and was last updated 5 years, 9 months ago by .
I would like to
'binding' => 'locality' with a
'field_type' => 'select_advanced'(taxonomy type).
But the select options are specifics IDs and int, not strings.
Is there a way to do someting like
'binding' => get_term_by('name', 'locality', my_locality_taxo)
'binding' => myFunction( param:locality, return:value_of_select )
or perhaps :
binding => locality binding_value => myFunction( param:locality, return:value_of_select )
If not, i will do that with a hidden field and some JS on change...
Thank You !
- The topic ‘Binding by a function / return value’ is closed to new replies.