0

I'm modifying a form plugin, and trying to have it submit to another page chosen by the user. Right now the page it submits to is page_id=6. If I navigate to this page myself, it prints Array(). When I submit the form, I get a 404 error although the url matches.

page_id=6 uses the shortcode [convertable] to include this code:

<?php 
echo "<pre>";
print_r($_POST);
echo "</pre>";
?>

I'm testing in on a WPMU install. You can see the form here

Any ideas on what's going wrong?

2

1 Answer 1

1

you're using name='name' for your first input. That breaks it. Change the name to something else as suggested above, prefix everything. name='my-prefix-name'

1
  • totally spaced it on the whole reserved variable thing. Thanks a lot for your help on that. I'll have to add a check to the plugin to make sure the user doesn't set 'Name' as one of the form fields, and also pass this on to the plugins original creator. Commented Dec 13, 2013 at 15:46

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