PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

JQuery Form Validation

  1. I'm trying to establish a form submisstion exactly like in https://en.wordpress.com/signup/.
    When entering the "Blog Address" field, it's able to determine if the domain has already been purchased or is available.
    I'm able to use NAMECHEAPS api (https://www.namecheap.com/support/api/api.aspx) via an http call to determine if the domain is available.
    How would I replicate the Blog Address field found in https://en.wordpress.com.

    Using the gform_validation hook is not as useful since it only verifies it when the user clicks on the submit button.

    I'm following the instructions found in http://net.tutsplus.com/tutorials/wordpress/adding-form-validation-to-wordpress-comments-using-jquery/.
    I know that I'll need to use the jquery library found in http://bassistance.de/jquery-plugins/jquery-plugin-validation/
    I'm just stuck as to what to do next. I've download the jquery and jquery-plugin-validation and I've included this files in my header.
    Just not sure what to do next. I have to validate if a domain exists using an http call.
    i.e. https://api.namecheap.com/xml.response?ApiUser=apiexample&ApiKey=56b4c87ef4fd49cb96d915c0db68194&
    UserName=apiexample&Command=namecheap.domains.check&ClientIp=192.168.1.109&
    DomainList=domain1.com,availabledomain.com
    found in https://www.namecheap.com/support/api/domains/namecheap.domains.check.aspx.

    Let me know if somebody has experienced this issue before.

    Posted 13 years ago on Friday April 29, 2011 | Permalink
  2. I would like to know how to do this too.

    Posted 13 years ago on Friday May 6, 2011 | Permalink