Oddities

{"content":{"id":2,"title":"HTML Forms Cannot Be Children of Table Elements","body":"\u003cp\u003eI was having the following problem:\u003cp\u003e\r\n\u003cbr\u003e\r\n\u003cul\u003e\r\n\u003cli\u003eHTML form works fine for create.\u003c/li\u003e\r\n\u003cli\u003eClick on link to edit page (same form).\u003c/li\u003e\r\n\u003cli\u003eSubmit button doesn't work.\u003c/li\u003e\r\n\u003cli\u003eReload the page.\u003c/li\u003e\r\n\u003cli\u003eSubmit button does work.\u003c/li\u003e\r\n\u003c/ul\u003e\r\n\u003cp\u003eSomething that's apparently a strict rule, but I can't find documentation for anywhere, is the fact that a form can't be a child of any table elements, a rule which Chrome seems to only enforce in very narrow contexts.\u003c/p\u003e","publication_date":"2018-05-08T17:11:00.000Z","created_at":"2018-05-08T17:39:19.000Z","updated_at":"2018-06-18T17:31:57.000Z","user_id":1,"rating":null},"tags":"\u003ca class=\"changeable-title\" href=\"/q?tag=documentation\"\u003edocumentation\u003c/a\u003e \u003ca class=\"changeable-title\" href=\"/q?tag=html\"\u003ehtml\u003c/a\u003e \u003ca class=\"changeable-title\" href=\"/q?tag=oddities\"\u003eoddities\u003c/a\u003e"}

HTML Forms Cannot Be Children of Table Elements

I was having the following problem:


  • HTML form works fine for create.
  • Click on link to edit page (same form).
  • Submit button doesn't work.
  • Reload the page.
  • Submit button does work.

Something that's apparently a strict rule, but I can't find documentation for anywhere, is the fact that a form can't be a child of any table elements, a rule which Chrome seems to only enforce in very narrow contexts.