Results 1 to 7 of 7

Thread: Form Validation Help

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Location
    New York, USA
    Posts
    1,137

    Form Validation Help

    Hi,

    I currently have a proxy list, and I am starting to get a little tired of co.cc or other subdomains.

    I'm curious if there's a way to set it so that if that the characters 'co.cc' are entered into the form, an alert box will pop up and and the Javascript won't let it submit.

    Thanks
    WiredStorm Hosting Solutions
    █ Lightning Fast Shared and Reseller Hosting
    █ cPanel with Softaculous and 24/7 Email (Ticket) Support
    Biodegradable Sunscreen - Unblock Facebook

  2. #2
    Yes there is but javascript is the wrong place to do it, you must do it server side - within your php/asp/whatever.
    I would check out a combo of stripos and substr


  3. #4
    Join Date
    Feb 2009
    Location
    New York, USA
    Posts
    1,137
    Thanks for the link geeknb, but it isn't detecting co.cc and other subdomains.

    @Ogle, I don't know how to do this PHP wise.
    WiredStorm Hosting Solutions
    █ Lightning Fast Shared and Reseller Hosting
    █ cPanel with Softaculous and 24/7 Email (Ticket) Support
    Biodegradable Sunscreen - Unblock Facebook

  4. Ogle is correct though, that's a whole PHP subroutine that has to be added.

    I looked at the way we're doing it now and it's very complex. This is due to the way we allow certain second level domains and not others.
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  5. #6
    i put in eefwefwef.om and that javascript did not say anything. There must be free versions some where

  6. Quote Originally Posted by thesyndicate View Post
    i put in eefwefwef.om and that javascript did not say anything. There must be free versions some where
    Perhaps this is because .om is the ccTL for the country of Oman?
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

Similar Threads

  1. WC3 Validation how much effect IN SEO ?
    By kuglermd in forum Promoting
    Replies: 7
    Last Post: 17 March, 2010, 22:31 PM
  2. [WTB] VCC - AdWords Validation
    By Kovich in forum Marketplace
    Replies: 5
    Last Post: 1 March, 2010, 01:04 AM
  3. Validation
    By Sbfc_ in forum Community Building
    Replies: 3
    Last Post: 25 February, 2010, 23:46 PM
  4. W3C Markup Validation on SEO
    By Jamie in forum On-Site SEO
    Replies: 1
    Last Post: 14 February, 2010, 14:24 PM
  5. Replies: 3
    Last Post: 3 November, 2009, 23:16 PM

Tags for this Thread

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
  •