SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Forums
SiteExperts.com Forums
All Discussions

SiteExperts Feedback
The Lounge
Dynamic HTML
Site Design/ Critiques
HTML and CSS
XML Technologies
The Wireless Internet
Internet Explorer
Microsoft .NET
The Server
Technical Support

Sponsored Links

User Groups : Forums : SiteExperts : Site Design and Critiques :

Previous DiscussionNext Discussion
 FORM TEXTBOX

My new website, www.hungarys-hotels.com , contains a form for booking hotel rooms. The user gets to this form by clicking on "Booking" links on any one of 300 different pages, each pertaining to a particular hotel.

The form has 20 or so text boxes, one of them calling for the name of the hotel, another for the hotel's city location.

I would like these 2 boxes to automatically be filled in with the name and location of the hotel of the web page from which the viewer just clicked to it. Is this possible to do, and if so, how?

Right now, when viewers click on the "Booking" link, having thus gotten away from the page of the hotel they wanted to book, they often don't remember the hotel name to fill in!

Started By tegtom on Feb 27, 2010 at 10:46:35 PM

4 Response(s) | Reply

Earlier Replies | Replies 4 to 4 of 4 | Later Replies
bod1467 on Feb 28, 2010 at 5:44:51 AM (# 4)

If there's no server-side coding going on (e.g. ASP, PHP) then you could add querystring parameters in the link and retrieve them using JavaScript and add them into the form.


Earlier Replies | Replies 4 to 4 of 4 | Later Replies

To respond to a discussion, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password
Copyright 1997-2004 InsideDHTML.com, LLC. All rights reserved.