Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions

Form not clearing values




26 October 2011 at 12:37am Community Member, 5 Posts


I have set up a custom form and I have a template to render the form within the "Includes" directory used to add some custom mark-up I need.

My problem is that when using a template file to render the form, all values I enter are being stored in the session and fields are re-populated even when I navigate to another section of the site and back to the form. Errors are also retained.

The only way to stop the issue is to not use a template (which I need to add extra mark-up) or to manually clear the session from my browser.

Has anyone experienced this problem and found a solution?