Condition to change thank you message not triggered if the form is encrypted.