WordPress.org

Ready to get started?Download WordPress

Forums

custom form with text field named 'name' (1 post)

  1. AndySpartan
    Member
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags