WordPress Quick Tips

Posts Tagged ‘action attribute

Use an empty action attribute in forms

Posted by: Vincent on: February 17, 2010

When developing a simple form to use in your WordPress theme or plugin you often want to post to the same page. To do so, simply leave the action attribute empty in your form. Notice that your_name is used, using simply name as the attribute value may cause some trouble. At least it did for [...]


About

WordPress Quick Tips is a blog supplying great tips about WordPress.

We hope to create a great knowledge resource for WordPress developers as well as serving a reminder for all the forgetful ones.

The blog is created and run by Vincent of Oakwood Creative

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 86 other followers

Follow

Get every new post delivered to your Inbox.

Join 86 other followers