Hi,
On the thankyou action page I'd like to include some conditional logic based on the value of a field.
This shows:
How can I do something like this?
On the thankyou action page I'd like to include some conditional logic based on the value of a field.
<h2>Training</h2>
<?php if ($form->data['trainingrequired'] == 'Yes') {?>
<p>You have requested training.</p>
<?php } else { ?>
<p>You have not requested training.</p>
<?php } ?>
<p>If you wish to proceed with your quote, please contact us.</p>
This shows:
data['trainingrequired'] == 'Yes') {?>
in the form
How can I do something like this?