html - 为什么我的表单上的日期输入无法通过 HTTP 发送?
问题描述
第一个问题:我正在创建的表单是将信息发布到名为 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>
解决方案
推荐阅读
- scala - 使用“shc-core: 1.1.1-2.1-s_2.11”将 Hbase 与 AWS EMR (emr-5.28.1) 集群上的 Spark 连接的问题
- c# - KeyDerivation.Pbkdf2 和 Rfc2898DeriveBytes 有什么区别?
- electron - 如何在 Electron 应用程序中获取应用程序的绝对路径
- javascript - react中的动态路由和生命周期
- elixir - 使用 GenServer 键值对制作 REST API
- amazon-web-services - 从 Swagger 中读取 AWS Region 和 AccountId
- mysql - 5个数据库之间的MYSQL INNER JOIN
- python-3.x - Python:[Informix][Informix ODBC 驱动程序]字符串或缓冲区长度无效。当我获取数据时 SQLCODE=-11071
- android - Android Tokbox 根据用户音频级别交换视频视图
- c# - 使用 OLEDb 将数据插入 Excel 表格