I have added a checkbox to the Corona contact form buy adding the following line in contact-form.php:
'mailinglist' => array('type'=>'checkbox','label'=>__(' Add me to the mailing list','avia_framework'), 'check'=>''), //mailinglist
This up fine on the website. However, when I submit a form with the checkbox checked, it is always shown as "false" in the email it generates. Am I doing something wrong (I am very new to Wordpress/HTML, etc.). Is there another field I need to set?














