custom form with text field named 'name'
So I have a form on a clients site with a text field input with a name of name e.g:
<form action="" method="post"> <input type="text" name="name" /> <input type="submit" value="Send" /> </form>
For some reason wordpress decides to do something with the “name” field and destroy the posted data. If I change the name of the field to “name2” everything works fine. Having looked at a load of documentation I can’t find anything that suggests wordpress uses POST data with a name of “name” for every page. Anybody have any ideas?
- The topic ‘custom form with text field named 'name'’ is closed to new replies.