Click to See Complete Forum and Search --> : Popup form


GurusGuru
12-27-2003, 07:21 AM
I have a html page with 30 different html links.

ABC abc.htm
DEF def.htm
GHI ghi.htm
......... and so on.

What I want is that as soon as someone clicks on any of the links (eg def.htm) a pop up form appears. The viewer has to fill this form and only after the form has been filled and submitted he is taken to the def.htm page.
Requirement 1 - I get an email containing the data of the form and the page name (def.htm) the person has gone to.
Requirement 2 - The data from the form is stored on the server.
Requirement 3 - I get an email and the data is also stored on the server.

russell_g_1
12-27-2003, 10:04 AM
I take it you're using some kind of server-side scripting for this?

I would choose ASP for it because you're going to need to connect to a db to store your form data.

Basically, the link to def.htm doesn't go to def.htm. It has to go your form page and pass "def.htm" to it as an arg. Once the form is submitted then the data can be stored in a db on the server and the user can be redirected to def.htm.

olerag
12-27-2003, 10:07 AM
Your requirements can be accomplished with HTML
and whatever server-side language you may be using (for
transfering the information to file/database). I don't
believe JS is a good candidate for this task.

Please correct me if I'm in error here.

GurusGuru
12-28-2003, 02:07 AM
Is it possible to have a pop box (containing fields - Name, Address, email, phone, fax) appear when a person clicks on a link. And after submitting the page he is taken to the desired URL. No database on server, just a simple email containing the data.

russell_g_1
12-28-2003, 06:34 AM
You're still going to need a server-side language to extract the form info you get and send the email.