HighDots Forums  

(hopefully) very easy question concerning forms

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss (hopefully) very easy question concerning forms in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Richsaum@gmail.com
 
Posts: n/a

Default (hopefully) very easy question concerning forms - 01-14-2008 , 05:03 PM






Hello all,

I am trying to put one form across 2 table cells, is such a thing
possible? It's a small questionnaire that will go across 2 table
cells, so that when they are done, one click would email all the info
in both table cells. I have been messing around with it in Dreamweaver
but I seem to be getting some errors. I'm not sure where to put the
<form> tags. I'm just looking to find out if such a thing is possible
without an extraordinary amount of code, so I'm not wasting my time
trying. Thanks in advance,

-Rich

Reply With Quote
  #2  
Old   
David Dorward
 
Posts: n/a

Default Re: (hopefully) very easy question concerning forms - 01-14-2008 , 05:09 PM






Richsaum (AT) gmail (DOT) com wrote:

Quote:
I am trying to put one form across 2 table cells, is such a thing
possible?
No. Entire tables can be contained in forms. Entire forms can be contained
in table cells. You can't have one element opening inside another element
and closing inside a sibbling of that element - it breaks the tree
structure of the document.

Quote:
It's a small questionnaire that will go across 2 table
cells, so that when they are done, one click would email all the info
in both table cells.
It sounds quite likely that a table shouldn't be involved at all.

--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/


Reply With Quote
  #3  
Old   
Richsaum@gmail.com
 
Posts: n/a

Default Re: (hopefully) very easy question concerning forms - 01-14-2008 , 05:47 PM



Thanks so much for the reply David,

It makes sense, just wasn't sure. I think with a small amount of
adjusting, I can put the whole form in one cell. Thanks again,

-Rich

Reply With Quote
  #4  
Old   
Steve Swift
 
Posts: n/a

Default Re: (hopefully) very easy question concerning forms - 01-15-2008 , 12:52 AM



Richsaum (AT) gmail (DOT) com wrote:
Quote:
It makes sense, just wasn't sure. I think with a small amount of
adjusting, I can put the whole form in one cell. Thanks again,
Or you can put the whole table inside the form, providing you want only
one form in the table. I do this all of the time, I should imagine that
most sites do; most forms are presented as tabular data, after all. The
rules you should follow are:

1. A form can contain any combination of tables
2. Any table can contain any combination of tables
3. A form cannot contain another form anywhere within it.

No doubt there are other rules that someone will castigate us with, but
I'm mainly concerned with what works, and not rules. I'll bet they don't
check their car's tyre pressures once a week, as directed in their
handbook. :-)

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.