You are here: Re: Two forms in one page? « HTML « IT news, forums, messages
Re: Two forms in one page?

Posted by Brian Cryer on 03/27/07 15:30

"Tim" <timwalters@terrano.es> wrote in message
news:q7rf3.viv.19.1@news.alt.net...
> I'm a real newby. I'm trying to get 2 submission forms onto the same page,
> one activated by Return, the other by a Send button. A little while ago I
> found that the contents of the buttoned form were sent by both sending
> methods. I rearranged the "action" and "div class="commentform" lines, and
> now nothing at all gets sent.
>
> Which of my many errors do you think might be responsible for this cockup?

I suspect you've probably broken the mark-up. Try running your page through
http://validator.w3.org/ and fix any errors that that generates and/or try
posting a url to your page so that we can see what's going on.

There is no fundamental reason why having two (or more) forms on a page
shouldn't work. The only thing to remember is that only one form can post
back.
--
Brian Cryer
www.cryer.co.uk/brian

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация