0
此表單在表單操作爲「提交」時起作用。但是,在將其自定義爲Salesforce Web到Lead時,不會顯示「表單提交已成功」的腳本。頁面腳本不能用Salesforce Web到導致代碼執行。
此外,在這裏提交後重定向網站的代碼不起作用。我不是PHP/Java專家,我不知道發生了什麼足以理解爲什麼它不起作用。
見下文。來自Salesforce的編輯私人信息。
<div class="padpage padtop">
<h1>Let Us Call You</h1>
</div>
<!--end padpage-->
<div class="cutContainer moreUpperMargin">
<span class="cutTop"></span>
<span class="cutBottom"></span>
<div class="ui-widget successMessage">
<div class="ui-state-highlight ui-corner-all">
<p><span class="ui-icon ui-icon-info" style=""></span>
<strong>Success!</strong> Your mail has been sent.</p>
</div>
</div>
<h4> Write to us </h4>
<form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST" />
<input type=hidden name="oid" value="000000000000000">
<input type=hidden name="retURL" value="http://www.xxxxxxxx.com">
<input type=hidden name="company" value="Mobile Lead">
<!-- A bunch of Fields.... -->
<input type="submit" class="button buttonStrong right" value="Send" name="buttonSubmit" value="submit">
<div class="clearfix"></div>
</form>
</div>
<!--end cut container-->