我想将用户在表单字段中输入的值从被调用的票价传递到不同的页面,在 javascript 中有一个不同的表单,称为 fare1
表格1:
<form action="/estimate-fare" name="fare" method="link" enctype="multipart/form-data">
<div class="pickupaddressWrapper">
<label for="pickupaddress">Pickup Address: <span class="form-required" title="This field is required.">*</span></label>
<input type="text" maxlength="128" name="pickupaddress" id="pickupaddress" size="30" value="" class="form-text required" />
</div>
<div class="dropoffaddressWrapper">
<label for="dropoffaddress">Dropoff Address: <span class="form-required" title="This field is required.">*</span></label>
<input type="text" maxlength="128" name="dropoffaddress" id="dropoffaddress" size="30" value="" class="form-text required" />
</div>
<input type="submit" id="edit-submit" value="" class="form-submit" />
</form>