_next 未重定向到自定义页面联系我们

问题描述 投票:0回答:1
<!DOCTYPE html>
<html>
  <head>
    <title>Contact US</title>
    <link rel="stylesheet" href="Contact.css">
  </head>
  <body>
    <nav class="header">
      <img src="https://raw.githubusercontent.com/BinartPhotography/BinartPhotography.github.io/main/background.png" class="logo">
      <div class="banner">
        <div class="navbar">
          <a href="../../index.html">Home</a>
          <a href="Gallery.html">Gallery</a>
          <a href="About.html">About</a>
          <a href="Contact.html">Contact</a>
        </div>
      </div>
    </nav>
    <form action="https://formsubmit.co/@email.com" method="POST">
      <input type="hidden" name="_next" value="https://binartphotography.github.io/pages/Thanks.html">
      <h1>Contact Us</h1>
      <input type="text" name="first" placeholder="First Name" autocomplete="off" required>
      <input type="text" name="Subject" placeholder="Subject" autocomplete="off" required>
      <input type="email" name="email" placeholder="Email address" autocomplete="off" required>
      <textarea rows="5" cols="60" name="message" placeholder="Enter text" autocomplete="off" required></textarea>
      <button type="submit"><span></span>Submit message</button>
    </form>
  </body>
</html>

出于隐私原因,我已删除该电子邮件,但为什么 _next 值不重定向到Thanks.html。我链接了整个链接哈哈。我正在使用 formsubmit.co

我成功了,但没有重定向,谢谢你

html forms
1个回答
0
投票

顶帖以便可以回答

© www.soinside.com 2019 - 2024. All rights reserved.