Jump to content

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...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.