Results 1 to 3 of 3

Thread: Need javascript for my survey page

  1. #1
    Join Date
    Mar 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Need javascript for my survey page

    Hi,

    I have a survey page, and i want people who has submit the survey CAN NOT access my survey page again. So, a person can only submit the form only once. Perhaps with a pop up window note saying "Ups Sorry,it seems that you have submit the survey, you are not allowed to do it again"

    Any javascript for this? Thanks

    JK

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    You can apply a IP based restriction for your survey page. But it is better if you consider a server-side tool like PHP rather than a client-side tool like JavaScript for the purpose.

  3. The Following User Says Thank You to codeexploiter For This Useful Post:

    JK28 (03-10-2008)

  4. #3
    Join Date
    Mar 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    thanks codeexploiter, im thinking perhaps a simple javascript that can recognize a cookies. btw do you have a sample/demo page or a tutorial for this IP based restriction?

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
  •