Dynamic SELECT values not working
-
Hi,
I’m following the guidance for dynamic choices in a dropdown but it is not working. My SELECT tag just has one option: the JSON string returned from my shortcode function.
My function is returning the correct JSON, and it works fine when used as the value for a checkbox field:
[dynamic_checkbox dynamic_checkbox-120 "my_shortcode"]
Works perfectly; shows all the options as expected.[dynamic_select dynamic_select-575 "my_shortcode"]
Does not work. Shows a single value of the JSON string.Looking at the plugin code, I see the
wpcf7dtx_checkbox_group_html
function includesjson_decode
for handling the dynamic choices returned. Thewpcf7dtx_select_html
function however never callsjson_decode
.Please advise. Many thanks.
- You must be logged in to reply to this topic.