這裏返回給定的URL後獲得從網絡到引腳形式的響應是我使用的表單代碼:如何在Salesforce
<form name="download_frm" action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
<input type=hidden name="oid" value="***********">
<input type=hidden name="retURL" value="http://----/">
<!--<input type="hidden" name="debug" value="1"> -->
<p><input type="text" value="" name="name" id="name" maxlength="50" class="" placeholder="Name"/></p>
<p><input type="text" value="" name="mail" id="mail" maxlength="50" class="" placeholder="E-mail"/></p>
<p><input type="text" value="" name="org_name" id="org_name" maxlength="50" class="" placeholder="Organization Name"/></p>
<p>
<select name="org_typ" id="org_typ" >
<option selected="selected">Organization Type</option>
{if isset($orgtypes)}
{foreach $orgtypes as $array}
<option value="">{$array->Dev_Type}</option>
{/foreach}
{/if}
</select>
</p>
<p><input type="number" value="" name="phnum" id="phnum" maxlength="50" class="" placeholder="Phone Number(Optional)"/></p>
<p><input type="text" value="" name="cntry" id="cntry" maxlength="50" class="" placeholder="Country (Optional)"/></p>
<p><input type="submit" name="submit" id="submit" value="submit form" /></p>
</form>
提交表格後,它返回到給定returnURL.But我想獲取信息是否表單數據是否成功存儲。
請指教我..
在此先感謝。