1表格 - 两个不同的清单

时间:2014-06-08 03:23:34

标签: php forms

好的,我有这个表格

当我点击提交时它工作正常,但现在我想做其他事情。

提交表单时,我希望将电子邮件和名称字段添加到我的 除了现在的位置之外,还有getresponse列表。

所以基本上在提交表单时我希望用户选择加入两个不同的列表。我知道我可能必须使用get response api键来添加联系人。我不拥有cgi代码,所以我无法做到这一点。此外,我不是程序员,所以我不知道最好的办法是什么。

所以,谢谢你们提前帮助我找到解决方案

 <form action="/cgi-bin/join.cgi" method="POST" name="info" id='info' onsubmit="return checkForm2();">
              <input type=hidden name=page value=1>
              <table cellpadding="3" cellspacing="0" width="570" align="center" border="0">
                <tr>
                  <td width="500" align="center" valign="middle">
                    <table border=1 width="80%" cellpadding=0 cellspacing=0 style="bordercolor:#000000" align="center">
                      <tr bgcolor="#eaeaea">
                        <td>
                          <table border=0 cellpadding=0 cellspacing=0 align="center">
                            <tr>
                              <td colspan=3>&nbsp;</td>
                            </tr>
                            <tr>
                              <td><b>First name</b></td><td width=10>&nbsp;</td><td><input type=text name=firstname value="" size=15 maxlength=20 id='firstname'>
                              </td>
                            </tr>
                            <tr>
                              <td><b>Last name</b></td><td width=10>&nbsp;</td><td><input type=text name=lastname value="" size=25 maxlength=30 id='lastname'></td>
                            </tr>
                            <tr>
                              <td colspan=3>&nbsp;</td>
                            </tr>
                            <tr>
                              <td><b>Email address</b></td><td width=10>&nbsp;</td><td><input type=text name=email value="" size=25 maxlength=100 id='email'></td>
                            </tr>
                            <tr>
                              <td><b>Re-type Email</b></td><td width=10>&nbsp;</td><td><input type=text name=email2 value="" size=25 maxlength=100 id='email2'></td>
                            </tr>
                            <tr>
                              <td colspan=3>&nbsp;</td>
                            </tr>
                            <tr>
                              <td><b>Select a password</b></td><td width=10>&nbsp;</td><td><input type=password name=password size=20 maxlength=20 id='password'></td>
                            </tr>
                            <tr>
                              <td><b>Re-type password</b></td><td width=10>&nbsp;</td><td><input type=password name=password2 size=20 maxlength=20 id='password2'></td>
                            </tr>
                            <tr>
                              <td colspan=3>&nbsp;</td>
                            </tr>
                            <tr>
                              <td colspan=3 align=center>
                                <input type="submit" name="send" value="Create Account and Continue ..." onClick="leaving=false" tabindex="6" style="background-color:#26701b; color:#ffffff; font-family:Verdana,Arial; font-weight: bold; font-size: 14px; border-left: 1 solid #a0a0a0; border-top: 1 solid #a0a0a0; border-right: 1 solid #000000; border-bottom: 1 solid #000000; padding: 2 2 2 2; outline: #a0a0a0 solid 2px; width:335px">
                              </td>
                            </tr>
                            <tr>
                              <td colspan=3 align=center>
                                <img src="/images/transdot.gif" height=8 width=1 alt=""><br>
                                <img src="/images/secure.gif" height=12 width=12 alt="">
                                <font class=fine><a href="/privacy_w.cgi" onClick="leaving=false">Email Security Guarantee & Privacy Policy</a></font><br><br>

                              </td>
                            </tr>
                            <tr>
                              <td colspan=3>&nbsp;</td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </form>

0 个答案:

没有答案