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!

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