我想在wordpress中使用get方法提交表单,但当我提交时,它显示404找不到页面。
我用谷歌搜索了一下,但没有找到。
有没有人能找到我?
<form action="" method="get">
<label>ID</label>
<input type="text" name="id">
<lable>Name</lable>
<input type="text" name="name">
<input type="submit" value="Go!">
</form>发布于 2017-02-09 00:43:48
看看这个。
http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_form_method
您的表单操作中没有任何内容-这段代码
<form action="" method="get">它应该看起来更像这样
<form action="page.html" method="get">该页面将需要对您刚刚发送的数据做一些处理...
如果你想在你的网站上创建一个简单的表单,并且对它了解不多,那么你最好使用一个插件
尝试像“联系form7”这样的东西...非常受欢迎
https://stackoverflow.com/questions/42118739
复制相似问题