Jump to content

I Need Help With YRC Shipping Quote Form


testservers

Recommended Posts

Hello,

 

I'm trying to get the shipping quote from YRC YRC http://www.yrc.com/e_commerce/hyperlinks.html#quote to work on my web site, but every time I submit the form, it doesn't show any quotes, but 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.

 

Test form page: YRC Test Shipping Module http://testing-servers.com/yrc-shipping-link-form.php

 

Code I'm using:

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>

 

Any help appreciated!

 

Thanks

 

Kevin

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.