Jump to content

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

Recommended Posts

Posted

In ASP,

the "POST" data is accessed with Request("Type")

the "URL" data is accessed with Request.QueryString("Type").

The link by Leb "asp101.com" shows how each would be applied in the number_srch.asp page.

Hope this helps.

Garry

Posted

sorry... I should have mentioned that the web site is not mine, it is a site that the client uses and I am trying to give them a shortcut in FMP that will look up the number for them.

Posted

You should be able to POST a Form, to that site, from an FM solution.

You can have more than one Form in a page. You can also use some Javascript to determine which is sent where and when!

Use one like this:

<form name="cpsoform" method="post" action="http://www.cpso.on.ca/Doctor_Search/number_srch.asp">

<input type="hidden" name="Type" value="CPSONUM">

<input type="hidden" name="SCR" value="FIRST">

<input type="hidden" name="CPSONO" value="[FMP-Field:cpsono]">

</form>

....

<a href="Javascript:document.cpsoform.submit();" target="_blank">Goto CPSO</a>

If you want to make this a link from a listing, make these changes:

<input type="hidden" name="CPSONO" value="">

.....

[FMP-Record]

<a href="Javascript:document.cpsoform.CPSONO.value="[FMP-Field:cpsono]";document.cpsoform.submit();" target="_blank">Goto CPSO</a>

[/FMP-Record]

All the best.

Garry

This topic is 7790 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.