Value of Checkbox in Email-Subject

phreak 20 Feb, 2008
Hi all,

I've a form where users can tick on a checkbox to agree receiving a newsletter. I sort these emails manually into a software and i'd like to have the checkbox value "on" in the email-subject.

Anybody knows how to do that ?

Thanx
phreak
GreyHead 20 Feb, 2008
Hi phreak,

In the 'OnSubmit before email' box put a code snippet like:
<?php
if ( $_POST['checkbox_name'] ) {
  $rows[0]->emailsubject = $rows[0]->emailsubject." ON";
}
?>
Bob
This topic is locked and no more replies can be posted.