Thread: Initializing a form
Results 1 to 6 of 6
required form fields in php page using redirect.php form Forum: PHP ForumReplies: 1
Problem with form in IE6 - empty space at end of form Forum: HTML ForumReplies: 1
Want to have data in form appear elsewhere in same form Forum: HTML ForumReplies: 3
08-12-2003, 01:19 PM #1
Initializing a form
I would like to be able to have a web page with a list of links. Upon clicking on a link, it will open a new page with a form that has the text of the link I clicked on, inserted into a textbox in the form. I would only like to have one page with a form where no matter which link i click on the previous web page, that link text is loaded into the one form. I hope this makes sense. I am having trouble finding a way to do this. Hopefully someone can help.
08-12-2003, 02:21 PM #2
Hello, welcome to the forums.
08-12-2003, 02:44 PM #3
Okey-doke. I did it a slightly odd way.
Here is the entire code example -
The code works like this -
The function itself first builds your form code (amend it in the function to suit yours) including as the value the text passed from the link. It then opens a popup window, then writes the form information to the newly opened window.
And voila, it works.
08-12-2003, 06:13 PM #4
08-13-2003, 06:46 AM #5
08-13-2003, 04:07 PM #6
glad it helps