Jump to content


Photo

sending data to a website form


  • Please log in to reply
4 replies to this topic

#1 mgm_03

mgm_03
  • Members
  • PipPipPip
  • Advanced Member
  • 49 posts
  • LocationFort Worth, TX

Posted 03 May 2006 - 02:26 PM

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?
Guru?...in my dreams!
Sorry Everybody

----------------------

#2 craygo

craygo
  • Staff Alumni
  • Advanced Member
  • 1,973 posts
  • LocationRhode Island

Posted 03 May 2006 - 02:40 PM

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

#3 mgm_03

mgm_03
  • Members
  • PipPipPip
  • Advanced Member
  • 49 posts
  • LocationFort Worth, TX

Posted 03 May 2006 - 04:35 PM

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
Guru?...in my dreams!
Sorry Everybody

----------------------

#4 .josh

.josh
  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 03 May 2006 - 04:51 PM

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.
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

#5 mgm_03

mgm_03
  • Members
  • PipPipPip
  • Advanced Member
  • 49 posts
  • LocationFort Worth, TX

Posted 03 May 2006 - 07:30 PM

Cheating? Games? .....hardly. Don't have any interest or time.
Guru?...in my dreams!
Sorry Everybody

----------------------




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users