Hi Ray, I now need to do a similar comparison but this time with a date field. I want to compare the submitted date with the existing date in the database and only send an email if the values are different. I tried the following:
<?php if (isset($_POST['StagingDate']) && $_POST['StagingDate'] != $_POST['HiddenStagingDate']) { ?>
[Universal Email behavior in here]
<?php } ?>
However it sends the email regardless of whether the date value is different or not. How do I alter the above code to get it to work?