Page 1 of 1

Nested form's

Posted: Mon Feb 19, 2007 1:45 pm
by alex.barylski
Are they legal according to XHTML trans/strict?

Posted: Mon Feb 19, 2007 1:49 pm
by jayshields
Test it?

Posted: Mon Feb 19, 2007 1:58 pm
by Luke
I'm 99% sure they are not. They don't work either.

Posted: Mon Feb 19, 2007 2:01 pm
by Kieran Huggins
The DTD for 1.0 says "<!-- forms shouldn't be nested -->" on all 3 (strict, trans and frameset)

Posted: Mon Feb 19, 2007 5:13 pm
by RobertGonzalez
Man, I wish I had a forum full of people that were willing to search for me, too. :wink:

Posted: Mon Feb 19, 2007 7:22 pm
by iknownothing
Last time I tried nested forms the browser spat the dummy. I can't see any real need for them that couldn't be solved in other ways, if its completely necessary to submit something from inside another form, maybe use...

Code: Select all

onclick="document.formname.submit();"

Posted: Mon Feb 19, 2007 8:19 pm
by alex.barylski
Cool thanks guys.

Everah I did actually do a search on Google quickly and couldn't find anything, so I threw it up here...thinking, if someone already knew the answer, then it's second to punch out an answer...I wasn't lookin for someone to search for me 8)

Posted: Mon Feb 19, 2007 8:55 pm
by RobertGonzalez
It's all good. I was just being a jerk.