Click to See Complete Forum and Search --> : Copying text to a Form field on different page


David12846
02-15-2003, 10:03 PM
Greetings:

I'm looking for a script (or HTML tag) that will copy text from page 1 to a Form field on page 2. Page 1 will consist of a hundred or so Alumni names who's addresses we have on record elsewhere as incorrect. By clicking on a name, an individual could go to page 2, fill in Postal address fields, and submit the form via e-mail. Page 2 would have the name copied from Page 1. Page 1 will be updated frequently (Names added and removed). With that many names, I don't want a complicated script. Something inside each link tag would be wonderful, but I'll use Javascript if I have to. I already have a general Form where Alumni can send us their Postal Address via e-mail. This new page showing who we'd like to hear from would be a nice addition.

David12846
02-16-2003, 11:13 PM
Wellll... I tried to use Dave's suggestion, but I just couldn't get it right. Can't seem to get the string into the fields on page 2. The sample used an alert box, which I didn't include. I tried using a <VAR> command also, but got lost there too.

Here's a sample of the page I'm trying to make... www.hlcsalumni.org/page1.html . I removed all my failed attempts at breaking the string apart on the second page however.

David12846
02-17-2003, 07:28 PM
I really wish I could download, but I can't... I'm using a Webtv. In order to look at the source code, I have to take the URL to a validator such as http://validator.w3.org/ . I was having a problem getting the source code for the second page.

I am VERY aware of the limitations of Webtv. My profession is writing computer applications to allow New York State Dept of Transportation Engineers to access our OracleŽ database. When I get home, I don't need more computer hassles. When I get to work, I'll download the .js file, IF our firewall will allow me to.

David (Eastern Upstate NY)

David12846
02-20-2003, 10:42 PM
Thank you Dave, I appreciate the help. I looked at your pages on my work PC. It was just what I was looking for.

Once I get the scripts up and working on my Alumni web pages, I'll include a note thanking you for your assistance, along with a link to your web site. If you object, please let me know.

David

hoborg
03-28-2003, 01:22 AM
Hi,
This is a sort of similar question to what you've posted (a few months ago):
On my main page, I would like to include a link, which, when clicked on, would pop up a window which contains a large list of hyperlinked names. When any of these names is clicked on, I would like that name to be entered into a field on a form on the main page. For example, if I'm searching for a name, but don't remember the exact spelling, I could click on "Browse", which would open up the secondary window. I could find the name I wish - Jacobsen - and click on it to enter it into the "name" field of the form on the main page.
I'm sure this must be able to be done, and I'm sure it has been many times in the past. Is there any particularly good way to do this?
Thanks!