SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Aug 4, 2003, 18:14 #1
- Join Date
- Aug 2003
- Location
- ca
- Posts
- 1
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
contact form & form validation scripts
Hello everyone,
I have two JavaScript questions that I'm hoping I can get help with. I want to find an already made JavaScript code for the following:
1) a contact form - one that doesn't prompt the user to only send through Outlook, but also web based.
2) a form validation script - so that visitors can't access a certain part of a website unless they have a username/password which I can assign to them.
Any help would be greatly appreciated! Thanks
-
Aug 4, 2003, 20:07 #2
- Join Date
- Jul 2003
- Location
- Sacramento, CA
- Posts
- 330
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Well There Is A Problem There JavaScript Cant Do That! For The UserName And PassWord You Would Definetly Have To Use A Sever Side Script Like ASP, OR PHP!
-
Aug 5, 2003, 04:54 #3
- Join Date
- Feb 2000
- Location
- where the World once stood
- Posts
- 700
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi,
What do you mean by web-based? Javascript is client-based, which means if you have a mailto: the browser will grab the user's default mail program on his/her machine.
While javascript is capable of putting up login screens -- <input type="password"> -- the username and password must be accessible to the script itself, which means it is viewable to any surfer above the age of 5.
If you are serious about limiting access, server-side you should go.
VinnyWhere the World Once Stood
the blades of grass
cut me still
Bookmarks