Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

This seems like a fairly simple problem,. perhaps I am missing something. I previously had a web object on a layout that would grab information from 2 fields, so the result of the search would be displayed for that record. The web address I used before in my web viewer: Case( CARRIERS::MC# > ""; "http://li-public.fmcsa.dot.gov/LIVIEW/pkg_carrquery.prc_carrlist?n_dotno=&s_prefix=MC&n_docketno="&CARRIERS::MC# &"&s_legalname=&s_dbaname=&s_state=~~&pv_vpath=LIVIEW "; CARRIERS::FF# > ""; "http://li-public.fmcsa.dot.gov/LIVIEW/pkg_carrquery.prc_carrlist?n_dotno=&s_prefix=FF&n_docketno="&CARRIERS::FF# &"&s_legalname=&s_dbaname=&s_state=~~&pv_vpath=LIVIEW ")

Now the website has changed and I can't seem to have it grab the information to display in the record..The website is: "https://safer.fmcsa.dot.gov/CompanySnapshot.aspx" and basically I want it to fill in the MC#, I've tried using the method I used before. I viewed the source of the website but cannot seem to figure out the correct syntax.

Any help would be greatly appreciated.

If I follow correctly, you want to take a value in your database and put it in the form on the website?

Lines 56-69

 

<TH SCOPE="ROW"><div class="hidden">Information</div></TH>

<TD NOWRAP="nowrap"><input id="1" type="radio" name="query_param" value="USDOT"

checked>  

<LABEL for="1">USDOT Number</LABEL></TD>

<TD NOWRAP="nowrap"><input id="2" type="radio" name="query_param" value="MC_MX"

>

<LABEL for="2">MC/MX Number</LABEL></TD>

<TD NOWRAP="nowrap"><input id="3" type="radio" name="query_param" value="NAME"

 

You'll need to move 'checked' to after "MC_MX to have 'MC_MX' checked as default, then you can put your number into the search box.

  • Author
On 7/9/2018 at 4:16 PM, Steve Martino said:

Lines 56-69

 

<TH SCOPE="ROW"><div class="hidden">Information</div></TH>

<TD NOWRAP="nowrap"><input id="1" type="radio" name="query_param" value="USDOT"

checked>  

<LABEL for="1">USDOT Number</LABEL></TD>

<TD NOWRAP="nowrap"><input id="2" type="radio" name="query_param" value="MC_MX"

>

<LABEL for="2">MC/MX Number</LABEL></TD>

<TD NOWRAP="nowrap"><input id="3" type="radio" name="query_param" value="NAME"

 

You'll need to move 'checked' to after "MC_MX to have 'MC_MX' checked as default, then you can put your number into the search box.

Hi Steve,

Yes you were correct, pass a value from our database to the web form. Thank you so much for your reply. I'm going to try it right now!

Caroline

  • 1 month later...
  • Author

Solution at last!

Anyway this is what I put in my web viewer object, "https://safer.fmcsa.dot.gov/query.asp?searchtype=ANY&query_type=queryCarrierSnapshot&query_param=MC_MX&query_string="&CARRIERS::MC#

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.