I have created a form on a test site at
http://testing-servers.com/yrc-shipping-link-form.php
and when I submit the form it doesn't display any rates. The code I've used from YRC to make the form is below:
Code:
<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><form id="form1" name="form1" method="post" action="https://my.yrc.com/dynamic/national/servlet?CONTROLLER=com.rdwy.ec.rexcommon.proxy.http.controller.PublicProxyController&redir=/tfq504">
<p>
<input name="O_CITY" type="hidden" id="O_CITY" value="Columbus" />
<input name="O_STATE" type="hidden" id="O_STATE" value="MS" />
<input name="O_ZIP" type="hidden" id="O_ZIP" value="39703" />
<input name="O_CTRY" type="hidden" id="O_CTRY" value="USA" />
<input name="D_CTRY" type="hidden" id="D_CTRY" value="USA" />
<input name="WGT1" type="hidden" id="WGT1" value="200" />
<input name="CLASS1" type="hidden" id="CLASS1" value="50" />
<input name="CURRENCY" type="hidden" id="CURRENCY" value="USD" />
<input name="DISPLAY2" type="hidden" id="DISPLAY2" value="PAGE" />
</p>
<p><label></label>
<label for="textfield">City</label>
<input type="text" name="D_CITY" id="D_CITY" />
</p>
<p>
<label for="label">State</label>
<input name="D_STATE" type="text" id="label" size="10" maxlength="2" />
</p>
<p>
<label for="label2">Zip Code</label>
<input type="text" name="D_ZIP" id="label2" />
</p>
<p>
<label for="textfield">PU Date</label>
<input type="text" name="PU_DATE" id="PU_DATE" />
</p>
<p>
<label for="Submit">Submit</label>
<input type="submit" name="DISPLAY" value="Submit" id="DISPLAY" />
</p>
</form>
<p> </p>
<p> </p></td>
</tr>
</table>
The YRC shipping code is listed here:
http://www.yrc.com/e_commerce/hyperlinks.html#quote
but I don't know why it's not giving me the rates. If I hit the"Back" button on the web site to go back to the page to get the quote and put in the same data, it displays the rate.
What am I doing wrong?
Thanks for your help.
Bookmarks