• 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 includes json_decode for handling the dynamic choices returned. The wpcf7dtx_select_html function however never calls json_decode.

    Please advise. Many thanks.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.