SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    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

  2. #2
    Under Construction Poop_Shoot's Avatar
    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!

  3. #3
    SitePoint Guru Vincent Puglia's Avatar
    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.

    Vinny
    Where the World Once Stood
    the blades of grass
    cut me still


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •