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.

So this is weird....

I have a form I've created myself (not a plugin, this is what I mean by standalone), and for some strange reason it does not post to the form's action when the form fields have data in them. However, when the fields are empty it successfully posts to the other page.

I have turned off all validators and really am not sure why this is happening.

Do I need to hook into a Wordpress function to allow for my own form submission?

I realized my permalink structure is /%category%/%postname%/ so perhaps it cannot properly post to the URL since it's not an actual file.

How can I achieve this?

Thanks

share|improve this question
1  
Can we see the forms code? –  Bainternet Jul 13 '11 at 5:08
add comment

1 Answer

It turns out Wordpress uses query vars to route the request to posts/pages etc.

It ended up being the case that some of my field names were already used by Wordpress internally.

Check http://codex.wordpress.org/WordPress_Query_Vars for the list of vars you shouldn't use

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.