Hi, I’ve read that topic called “autoresponder choice” that was closed.
The girl who opened it was complaining that she would get “true” in her e-mails whenever her checkboxes were, well… checked. :)
The same thing is happening to me. I tried following your advice on that last one and changed the line in class-form-generator.php, but when I changed that line, all the information I’d get in my e-mails was that “my text” bit.
Name: my text
E-mail: my text
Fone: my text
Message: my text
(checkbox text): my text
What I need is for that “true” to turn into a “yes”. That’s it! Any help would be highly appreciated. Thanks!
Previous topics (that was closed): https://kriesi.at/support/topic/autoresponder-choice/
Please try to change the code a bit. Instead of
if( $new_post[$key] == true || $new_post[$key] == 'true' ) $new_post[$key] = 'my text';
try to use
if($new_post[$key] == 'true' ) $new_post[$key] = 'my text';
The topic ‘About that "autoresponder choice" topic – keep getting "true" with checkboxes’ is closed to new replies.