Checked but not added to list
-
Hi Kasper,
In your class MailPoet_CF7_Submit_Form at line 64 (function add_email_list) my form data ($form_data) for mailpoetsignup is 0 (checked) or “” (not checked). Because of the ‘ && !empty($form_data[$field_names[‘mailpoetsignup’]]) ‘ in the up following if statement its not adding my signup to a list. Is it possible to change your if or is the class ‘WPCF7_Submission’ causing the problem?
In my cf7 form:
[mailpoetsignup mailpoetsignup-3005 list:5 default:on class:checkbox_nieuwsbrief "Stuur mij af en toe een nieuwsbrief via email"]
Thanks for your help.
Martinarray(14) { ["_wpcf7"]=> string(3) "868" ["_wpcf7_version"]=> string(3) "4.9" ["_wpcf7_locale"]=> string(5) "nl_NL" ["_wpcf7_unit_tag"]=> string(16) "wpcf7-f868-p2-o1" ["_wpcf7_container_post"]=> string(1) "2" ["your-first-name"]=> string(4) "test" ["your-last-name"]=> string(4) "test" ["your-email"]=> string(18) "[email protected]" ["mailpoetsignup-3005"]=> string(1) "0" ["mailpoetsignup-3003"]=> string(1) "0" ["mailpoetsignup-3006"]=> string(1) "0" ["mailpoetsignup-3004"]=> string(1) "0" ["mailpoetsignup-3007"]=> string(0) "" ["mailpoetsignup-3008"]=> string(0) "" }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Checked but not added to list’ is closed to new replies.