Jump to content

Web object getting data from fields


Answers

This topic is 2052 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 month later...

This topic is 2052 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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