After the Form submits success, The Page is not redirected to the Thankyou Page, In the console, I have got an Error response as Redirects not supported in AMP4Email. Please let me know when the Redirect Feature will work.
We are using <html ⚡4email>.
And in Php, I have added the Redirect Headers
$redirect_url = 'https://example.com/amp/nextown/thankyou.amp.html';
header("Access-Control-Expose-Headers: AMP-Access-Control-Allow-Source-Origin, AMP-Redirect-To");
header ('AMP-Redirect-To: '.$redirect_url);