开发者

Form Submission in Wordpress

Hi I have another very strange problem. I have a custo开发者_JAVA技巧m HTML form in wordpress page whose target is set to a page like "http://domain.com/contact-us/" When when the form is submitted, it said "404-Nothing Found" even if the URL is same as the Contact page.

Any suggestions ???

Thanks...


Does one of your form fields have a name attribute equal to "name" or "email"?

Wordpress seems to reserve some of these name attribute values and will push you out to a 404 page if you use them. Thanks Wordpress!

Try prefixing all form fields with something to see if this is the problem

eg:

<input name="name" />

should become

<input name="test-name" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜