it all depends on how you code the if statement.
coding the if statement like this will not work correctly:
<?php
if("this" != "that") {
echo((isset($_POST["textfield"]))?$_POST["textfield"]:"");
} else {
echo((isset($_POST["textfield2"]))?$_POST["textfield2"]:"");
}
?>
however, coding the if statement like this will:
<?php if("this" != "that") { ?>
<?php echo((isset($_POST["textfield"]))?$_POST["textfield"]:""); ?>
<?php } else { ?>
<?php echo((isset($_POST["textfield2"]))?$_POST["textfield2"]:""); ?>
<?php } ?>
the key is that universal email will transalate code in the following form:
<?php echo((isset($_POST["textfield"]))?$_POST["textfield"]:""); ?>
to:
$MailBody = $MailBody . ((isset($_POST["textfield"]))?$_POST["textfield"]:"");
but when it is literally surrounded in the if statement, it does not translate properly.