the user clicks a link and a small window pops up ? they fill it in and it sends to my email address? whats the code for that?
form
Started by ecv, Apr 08 2008 02:20 AM
3 replies to this topic
#1
Posted 08 April 2008 - 02:20 AM
|
|
|
#2
Posted 08 April 2008 - 04:17 AM
You need to use a PHP or ASP form. It might prove difficult to use a pop-up window, though. It would be better to use a separate data entry page, with a Submit button. There are lots of websites available that can teach you PHP or ASP. An example can be found at W3Schools Online Web Tutorials. Have fun!
Oh, and you could JavaScript as well, to pop up messages and check the user entered the correct details. Tutorials available on the same website.
Oh, and you could JavaScript as well, to pop up messages and check the user entered the correct details. Tutorials available on the same website.
Edited by John, 14 April 2008 - 09:03 AM.
#3
Posted 08 April 2008 - 01:28 PM
I would use PHP to do this, you could use ASP but I find PHP is easier. w3schools is a very decent site and will get you on a head start with what your looking for.
I don't know about the popup window though, you could probably just javascript but I'm not suire.
I don't know about the popup window though, you could probably just javascript but I'm not suire.
#4
Posted 10 April 2008 - 11:30 AM
To load a window, do something like this in the (X)HTML Code:
The line javascript:window.open() will open a new window, at the press of the button. You pass in the name of the form file. There are extra parameters the open() method can take, which can be looked up on W3Schools Online Web Tutorials.
<input type="button" value="Enter Details" onclick="javascript:window.open('myform.html')" />
The line javascript:window.open() will open a new window, at the press of the button. You pass in the name of the form file. There are extra parameters the open() method can take, which can be looked up on W3Schools Online Web Tutorials.


Sign In
Create Account

Back to top









