Here is the code I use in an HTML5 AEM form:
This does not work in my adaptive form. What do I need to do? This is not the thank you page displayed upon submission. It is displayed if the user is accessing the form outside the valid application dates.