Jump to content

AJAX signup/registration form requests


nielsenj

Recommended Posts

Howdy,

 

I'm in the middle of creating a full AJAX signup/registration form mod for WHMCS.

 

What i'm looking for is specific validation requests for the fields you would normally encounter.

 

IE WHMCS has a specific level of validation, so that is the minimum for the AJAX validation BUT what, in addition to that initial level of validation would you like to see?

 

So far email has the same validation as my previous AJAX mod.

 

Name's characters are restricted to standard name characters (a-Z,'-' and the single quote character).

 

Password matching (i believe that's the only thing required for that).

 

Country list and region list are populated from an SQL database, and is fairly exhaustive (248 countries; 3,926 regions). The clients Country, Region and City are optionally filled in automatically if you choose this setting.

 

Phone number validation is limited to the WHMCS standard, as most special characters are not accepted by WHMCS.

 

I'm experimenting with linking postal code validation to the selected country. IE US can use 5 or 5+4 digit zip, CA uses A0A0A0, with potentially each country being entered (so far i've only done 20 expressions to cover 20 or so countries).

 

So, are there any other suggestions/requests?

 

Thanks for your time,

J

Link to comment
Share on other sites

Very interesting suggestion indeed, I like whatever makes the process simpler and faster for clients, that in the end we benefit from.

Regarding that matter I find the order process still cumbersome in some places : the final page where VAT had to be validated, along with a password added, is annoying and risky as some clients give up easily in frustration.

I do not see the need for other validations, I have also been experimenting pre-filled ZIP codes and city name.

Are you working on custom code and/or with JQuery ?

 

Thanks.

Link to comment
Share on other sites

Unfortunatly i have no experience with the VAT side of WHMCS as i havn't had to deal with it. I'm not sure what type of validation is required.

 

Does it show up on the standard order form or is there a specific page where it needs to be entered?

 

I'm coding my own JS/PHP files as i'm not a fan of 3rd party scripts.

 

As for the "auto fill/select" portion of the code, it's using maxMind's free GeoIP script. The items which are filled out depend on if you meet maxMind's terms of service (for City and Region you need to have a link back to their website; for Country you do not).

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