第一个问题: 我正在创建的表单是将信息发布到名为Granot的CRM上。由于某些原因,日期输入和下拉选项将无法发布。
我删除了type =“ date”,并且该帖子通过了,但我希望我的用户可以使用日历。
第二个问题: 提交表单后,我希望将用户重定向到“谢谢”页面,而不重定向到发布网关URL。
这是我在granot网站上找到的开发人员指南。这里有人会更熟悉本文档吗? https://docs.google.com/document/d/1VMpPFi4c4EhQUg9qab4tPkypgnUQF4U7L8Y-HU8I-R0/preview
我在文档中的表上看到要添加的redirurl名称。我不知道如何使用它。
编辑:提交表单后,我进入操作页面并说: “ 0,16,移动日期必须大于今天的0,0”
<form name="basicform" id="get_quote_from_test" method="POST" action="https://lead.hellomoving.com/LEADSGWHTTP.lidgw?&API_ID=E432CD67C51E">
<div id="form_cotent">
<div class="regForm">
<div id="step_1">
<div align="center" class="tab">
<h3 align="center">Compare Rates and Save Money!</h3>
<h2 align="center">About Your Move</h2>
<input placeholder="From Zipcode" oninput="this.className = ''" name="ozip">
<input placeholder="To Zipcode" oninput="this.className = ''" name="dzip">
<input type="date" placeholder="mm/dd/yyyy" oninput="this.className = ''" name="movedte">
<select name="movesize">
<option value="" selected disabled hidden>Size of your Move</option>
<option value="Partial Home" name="movesize">Partial Home</option>
<option value="Studio" name="movesize">Studio</option>
<option value="1 Bedroom" name="movesize">1 Bedroom</option>
<option value="2 bedrooms" name="movesize">2 bedrooms</option>
<option value="3 bedrooms" name="movesize">3 bedrooms</option>
<option value="4 bedrooms" name="movesize">4 bedrooms</option>
<option value="More than 4 bedrooms" name="movesize">More than 4 bedrooms</option>
<option value="Office" name="movesize">Office</option>
</select><br>
</div>
<div align="center" class="">
<button id="step1_fwd" class="btn bttn1" type="button">
<span class="text">Start Your Quote</span>
</button>
<!--<button id="step1_fwd" class="btn btn-primary bttn1" type="button">Start Your Quote</button>-->
</div>
</div>
<!---- Step 2 --->
<div id="step_2" class="step_2" style="display: none;">
<div align="center" class="tab">
<h2>Step 2</h2>
<h3>Contact Info</h3>
<input placeholder="First name" oninput="this.className = ''" name="firstname">
<input placeholder="Last Name" oninput="this.className = ''" name="lastname">
<input placeholder="E-mail" oninput="this.className = ''" name="email">
<input placeholder="Phone" oninput="this.className = ''" name="phone1">
</div>
<div align="center">
<button type="button" class="prevBtn" id="step2-bck">
<span class="txt">Back</span>
</button>
<div class="subBtn">
<button id="step2_fwd" class="btn bttn1" type="button">
<span class="">Next</span>
</button>
<!--<button id="step1_fwd" class="btn btn-primary bttn1" type="button">Start Your Quote</button>-->
</div>
</div>
</div>
<div id="step_3" class="step_3" style="display: none;">
<div align="center" class="tab">
<h2>Step 2</h2>
<h3>Contact Info</h3>
<input placeholder="E-mail" oninput="this.className = ''" name="email">
<input placeholder="Phone" oninput="this.className = ''" name="phone1">
</div>
<button type="submit" class="auto">Submit</button>
</div>
<!--
<button type="button" class="prevBtn" id="step3_bck">
<span class="">Back</span>
</button>
<div class="subBtn">
<button id="get_quote" class="bttn1" type="submit">
<span class="text">Get A Quote</span>
</button>
-->
<!--<button id="step1_fwd" class="btn btn-primary bttn1" type="button">Start Your Quote</button>-->
</div>
</div>
</div>
</div>
</form>
</section>