Please Log in to join the conversation.
$variables['var7'] = '[var7] [cb:parse function="clean" method="string"][if(isset($_POST['emailoptions']))
{
echo 'Email Options:<br />';
echo '<br />Description: '.$_POST['label'];
echo '<br />Indicator: '.$_POST['value'];
exit;
}][/cb:parse]';
$variables['var7'] = '[var7] [cb:parse function="clean" method="string"][post_emailoptions; foreach ($options as $value => $label) {
echo '<option value="' . $value . '"' . ($value == $selected ? ' selected' : '') . '>' . $label . '</option>';}][/cb:parse]';
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Yes, that is correct and it will be used in both cases described when the user receives an email.Looks like you're just wanting to convert the value of the select input to the label and append that to the email. Is that correct?
Please Log in to join the conversation.