嗨专家,
I am looking to submit two forms with one submit button and sending data to
两个不同的位置。我不知道在哪里可能,但我相信你们的专家会为这个问题提供一些解决方案。非常感谢您提前提供的帮助,请在下面找到代码。
表单 1(登录)正在向 login.php 发送数据,表单 2(捕获登录)正在向 CRM 文件 capture.php 发送数据。
echo "<center><form name=login method=post action=getlogin.php>" ;
echo "<table border=0 cellpadding=5>";
echo "<tr><td>Email</td>";
echo "<td><input type=text name=l_email size=35></td></tr>";
echo "<tr><td>Password </td>";
echo "<td><input type=password name=l_password size=35></td></tr>";
echo "<form name=Capture Login action=//localhost:8888/modules/Webforms/capture.php method=post accept-charset=utf-8>";
echo "<input type=hidden name=publicid value=ec556b63988fbf6a793a1e1cf2238ef0> </input>";
echo "<input type=hidden name=name value=Capture Login></input>";
echo " </p>";
echo " <p>";
echo " <label>Last Name</label>";
echo " <input type=text name=lastname required=true>";
echo " </p>";
echo " <p>";
echo "<label>Company</label>";
echo "<input type=text name=company required=true>";
echo " </p>";
echo " <p>";
echo "<tr><td><input type=submit value='Login'></td>";
echo "<td><input type=reset value='Clear Form'></td></tr>";
echo "</table>";
echo "</form>";
echo "</form></center>";