validation 'if' 'else'
Hey Ray
Am displaying a message in the placeholder for an input and am trying to change the message depending on whether or not the validation has been triggered. I have tried the following and it isnt working but not sure how to adjust or change the syntax to accommodate what I am trying to do?
<?php
if (ValidatedField('contactform','contactform')) {
if ((strpos((",".ValidatedField("contactform","contactform").","), "," . "3" . ",") !== false || "3" == "")) {
if (!(false)) {
?>VALID EMAIL REQUIRED<?php } else { ?>EMAIL ADDRESS<?php //WAFV_Conditional contact.php contactform(3:)
}
}
}?>
Many thanks