Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 多形式问题_Html_Forms - Fatal编程技术网

Html 多形式问题

Html 多形式问题,html,forms,Html,Forms,我有两张表格一张接一张,但第二张根本没有张贴。除了提交外,一切正常。能给我两张这样的表格吗 <form action="getRates.php" name="rates" method="post" onSubmit="popupform(this, 'join')"> <table style="width: 216px"> <tr>

我有两张表格一张接一张,但第二张根本没有张贴。除了提交外,一切正常。能给我两张这样的表格吗

 <form action="getRates.php" name="rates" method="post" onSubmit="popupform(this, 'join')">
                          <table style="width: 216px">
                            <tr>
                              <td style="width: 115px; height: 49px;"><span class="style16">Weight</span><br/>
                                  <input type="text" id="weight" name="weight" size="10" maxlength="4"/>
                                  <input type="hidden" id="weightOne" name ="weightOne">
                                  <input type="hidden" id="weightTwo" name ="weightTwo">
                                  <input type="hidden" id="weightThree" name="weightThree">
                                  <input type="hidden" id="weightFour" name="weightFour">
                              </td>
                              <td align="right" style="width: 68px; height: 49px;" valign="top"><span class="style16">Zip Code</span><br/>
                                  <input type="text" id="zip" name="zip" size="10" maxlength="5"/>
                              </td>
                            </tr>
                            <tr>
                              <td style="width: 115px">
                              <input name="submit" type="submit" value="Door Hanger Rates" style="width: 138px" />
                              </td>
                            </tr>
                          </table>
                          </form>
                         <form action="getBusinessRates.php" name="businessRates" method="post" onSubmit="popupform(this, 'join')">
                          <table style="width: 216px">
                            <tr>
                              <td style="width: 115px; height: 49px;"><span class="style16">Weight</span><br/>
                                  <input type="text" id="businessWeight" name="businessWeight" size="10" maxlength="4" />
                              </td>
                              <td align="right" style="width: 68px; height: 49px;" valign="top"><span class="style16">Zip Code</span><br/>
                                  <input type="text" id="businessZip" name="businessZip" size="10" maxlength="5" />
                              </td>
                            </tr>
                            <tr>
                              <td style="width: 115px">
                              <input name="businessSubmit" type="submit" value="Business Card Rates" style="width: 138px" />
                              </td>
                            </tr>
                          </table>
                         </form>

重量
邮政编码
重量
邮政编码

您的相同代码正在运行。这可能是另一个问题。

你真的不应该在表单中嵌套表单吗?他不是,第一个在第二个之前?这很奇怪。第二个提交按钮在我的页面上根本不起作用DocType可能也是一个问题,但我不是100%确定。查看您使用的是什么。这