Hi there
I have three checkboxes on my form and each checkbox requires a different autoresponse. Can I do this within the Chronoform form manager? And if so, please tell me how.
Thanks
I have three checkboxes on my form and each checkbox requires a different autoresponse. Can I do this within the Chronoform form manager? And if so, please tell me how.
Thanks
Hi allyro,
Yes you can do this. Probably the simplest way it to write an email template like this:
Bob<br><br>Post edited by: GreyHead, at: 2007/11/21 11:20
Yes you can do this. Probably the simplest way it to write an email template like this:
<?php
switch ( $_POST['checkbox'] ) {
case 'value_1':
?>
some html code . . .
<?php
break
case 'value_2':
?>
some html code . . .
<?php
break
case 'value_3':
default:
?>
some html code . . .
<?php
break
}
?>
by using a switch statement(s) you can simply change all or parts of your response email based on values from the form.
Bob<br><br>Post edited by: GreyHead, at: 2007/11/21 11:20
This topic is locked and no more replies can be posted.