Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've created a form in a wordpress page (it's hardcoded in it's template.) This form redirects on the same page as it's on. This form also verifies the data right there, in the template file.

If I put this form on any page, it works. But on the front page, when I submit it, I get a page, with the default template, with only "There has been an error." in it's contents.

So how can I make that form work everywhere? How can I use POST data returned by my form on the front page?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Seems my form was using some value from the namespace of wordpress. If this problem happens to you, check what id/names you give to your inputs. If it's too general, it might conflict.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.