Hi Ray, I tried clearing the session but it doesn't work, it's still retaining the form data after successful submission. I suspect it's something to do with the code order but I put the clear session info at line 1 which I think is the standard place? I've tried ordering the various code blocks differently but the current order ensures everything else works properly.
How would I go about using the URL parameter option? At the moment it redirects to test.php?sent=false#captchafail if it fails the captcha. I've attached a copy of the current page for info.