In CFv4, can you use PHP commands in the Thanks Message event? Or is there some way to show different text depending on a radio button that was selected on the form?
Thanks
Tami
Thanks
Tami
<?php
if ($form->data['like_fruit'] ) {
$form->data['recommend'] = "Our bananas are great today.";
} else {
$form->data['recommend'] = "How about a kilo of broccoli.";
}
?>
Then use {recommend} in the Thank You message.