Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 10th, 2007, 06:46 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default Can we have ......

multiple forms in a single HTML page??

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
 
Old January 10th, 2007, 08:05 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yes, but they cannot be embedded within each other.

HTH,

Chris

 
Old January 11th, 2007, 02:14 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

rupen,

see below a simple example for you

<script language="javascript">
<!--
function checkalt()
{
    val1=document.form1.T1.value
    val2=document.form2.T2.value
    alert(val1+"----"+val2)
}
//-->
</script>

<form method="POST" name="form1">
  <input type="text" value="10" name="T1" size="20">
</form>
<form method="POST" name="form2">
  <input type="text" value="20" name="T2" size="20">
  <input type="button" onclick="javascript:checkalt()" value="Submit" name="B1">
</form>


surendran
(Anything is Possible)
http://ssuren.spaces.msn.com
 
Old January 12th, 2007, 10:27 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default

Okay got it...thanks..

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.