Click to See Complete Forum and Search --> : Many forms in a web page???


shanuragu
07-21-2003, 04:02 AM
Hi

Can we create many form's ie, <form>...</form> tags in a single web page ie, b/w one <html></html> tag????.

shara

gil davis
07-21-2003, 06:59 AM
Yes, you can have as many forms in a page as you need. However, you cannot nest one form inside another form.

signalmasters
08-16-2003, 01:59 PM
Hi guys!

I've long had a weather.com "enter US city or zip" form on my home page so visitors can quickly access their local forecast/conditions/doppler. Worked like a charm until I tried to add a "search this site" form recently so folks can easily locate what they want on my site. The new form completely took over the page. In other words, when a visitor enters the appropriate info into the "weather" form and clicks "go" he/she is directed to the target URL for the "search" form, which of course returns a big fat "SORRY, NO MATCHES FOUND." I suspect that this is because the code provided by weather.com does not include a value attribute in the destination "input type." It looks like this: [input name="destination" type="text" size="8" value] Shouldn't there be a unique destination code or URL between quotation marks following the word "value"?

Is this what's causing my problems? And how is it that the form worked perfectly till now?

Thanx for any assisstance or direction you can offer,
Dave

Aronya1
08-17-2003, 02:44 AM
signalmasters,

Are you sure both forms have different names? Or is one nested inside the other, as was mentioned already?

signalmasters
08-17-2003, 06:57 AM
Problem corrected. Thanx for your help.