Jump to content

Archived

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

mgm_03

sending data to a website form

Recommended Posts

This is a generic question but I'll use Yahoo! maps as an example.

Suppose I have a database of property addresses. I want to create a link that, when clicked, sends the street address, city, state to a 3rd party site (like Yahoo maps) to pre-populate the HTML form.

There are other sites I'd like to do this with. Even better, I'd like to be able to automatically submit the form.

Where would I learn to do this?

Share this post


Link to post
Share on other sites
First you have to find out what parameters the particular site needs to display the information. If the site uses the url for parameters then just go to the site, do a trial search then look at the url and setup your parameters accordingly. If the site does not use the url for parameters you might be out of luck unless you can contact them and ask for the parameter names to put in the info.

example of a site address

[a href=\"http://yahoo.com/maps/search.html?state=MA&city=boston&area=downtown\" target=\"_blank\"]http://yahoo.com/maps/search.html?state=MA...n&area=downtown[/a]

With the above you would have to get state, city, and area to get the page to display correctly. so somewhere in your form you would have to use a "method=GET" and have these variables in the form. Or make sure they are in your link to the site.

Hope that helps a little

Ray

Share this post


Link to post
Share on other sites
Thanks for responding. I think the Yahoo maps may not be a good example on my part.

This is a site on which I'd like to automatically pre-populate the form instead of copy/paste.
[a href=\"http://www.tad.org/Datasearch/re_location_search.cfm\" target=\"_blank\"]link[/a]

And ideally, to be more sophisticated ...extract the data that results once the form is submitted

Share this post


Link to post
Share on other sites
think you're gonna have to look into javascript for that m8

i also have to say be careful. questions like this are suspicious. like you want to cheat on a game or something.

Share this post


Link to post
Share on other sites
Cheating? Games? .....hardly. Don't have any interest or time.

Share this post


Link to post
Share on other sites

×

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.