Google Chrome: Web forms, empty action won’t work!

After doing some testing, I was wondering why the hell my form wasn’t submitting any POST data in Google Chrome.

It turns out that Google Chrome will not “post” to a form when the “action” destination is left blank.

Using a relative path doesn’t seem to work, it has to be absolute… I can understand why they would do this but but it’s the only browser I have come across that behaves in this fashion. Normally other browsers would allow the “action” property to be blank and still allow submission of the form.

It’s good practise but annoying!

This entry was posted in Web Development. Bookmark the permalink.

One Response to Google Chrome: Web forms, empty action won’t work!

  1. Darin says:

    This sounds like a bug. Please file a report at http://code.google.com/p/chromium/issues/entry

    Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>