Jump to content

AJAX Order Form Domain Validation Bug


RJay45

Recommended Posts

There seems to be a problem on the domain name validation (specifically the checkDomainisValid() function call) that is returning that a domain name is available if you type in something invalid such as 'e.c' (without quotes). Generally for most cases it does work correctly though.

 

You can test this on the demo order site: http://demo.whmcs.com/order/

 

Select Hosting Packages, then a package, and type in 'e.c' (without quotes)

 

Granted the form will not return any valid prices, but the checkDomainisValid function should return false, and then the lookupDomain function should not return available.

 

A workaround for now would be for those of us customising this order form to add in some additional validation checks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated