Click here to get back home

(hopefully) very easy question concerning forms

 HomeNewsGroups | Search

comp.infosystems.www.authoring.html - discuss HTML authoring here 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
(hopefully) very easy question concerning forms Richsaum 01-14-2008
Posted by Richsaum on January 14, 2008, 6:03 pm
Please log in for more thread options
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
show/hide quoted text
without an extraordinary amount of code, so I'm not wasting my time
trying. Thanks in advance,

-Rich

Posted by David Dorward on January 14, 2008, 6:09 pm
Please log in for more thread options
Richsaum@gmail.com wrote:

show/hide quoted text

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.

show/hide quoted text

It sounds quite likely that a table shouldn't be involved at all.

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

Posted by Richsaum on January 14, 2008, 6:47 pm
Please log in for more thread options
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

Posted by Steve Swift on January 15, 2008, 1:52 am
Please log in for more thread options
Richsaum@gmail.com wrote:
show/hide quoted text

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

Similar ThreadsPosted
easy form layout question February 10, 2006, 4:28 pm
html forms question February 1, 2006, 6:08 pm
Is my site/web app easy to use? November 1, 2007, 5:16 pm
HTML email the easy way October 16, 2004, 12:41 pm
Forms - howto use return for submitting in Forms? April 6, 2005, 4:08 pm
Make Money Fast and Easy!!! October 21, 2007, 7:59 pm
Detecting Intruders on Your System Is Fun and Easy December 11, 2007, 8:52 am
easy-to-configure storefront package for beginner January 8, 2005, 1:23 am
better/easy way to displaying c source code in html July 18, 2006, 5:44 am
Help with forms. January 29, 2006, 10:37 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy