• I’m creating a contact form in CF7 with checkboxes where I want to set multiple recipient groups DYNAMICALLY. I’ve created a function that registers a shortcode and returns mailing-lists of user emails depending on their meta data.

    I’ve tried putting the shortcodes after pipes, like this:

    [checkbox* recipient-groups “Option 1|[mailing_list meta_key=’my_meta_key’ meta_value=’1′]” “Option 2|[mailing_list meta_key=’my_meta_key’ meta_value=’2′]” “Option 3|[mailing_list meta_key=’my_meta_key’ meta_value=’3′]”]

    But CF7 doesn’t accept that.

    Help anynone?

    • This topic was modified 7 years, 1 month ago by lindagester.

The topic ‘Adding a custom shortcode as the option value’ is closed to new replies.