Si Posted April 1, 2008 Share Posted April 1, 2008 Hi, Apologies if this has already been posted. I've had a few customers register domains and Nominet have replied with this: V029 Invalid reg-postcode: `MZ29EB' (that's a dummy postcode incidentally). Which means that the domain registration fails and I have to login to correct it to MZ2 9EB and resubmit the registration again. Can this be amended to pick up this error beforehand? Si 0 Quote Link to comment Share on other sites More sharing options...
nielsenj Posted April 1, 2008 Share Posted April 1, 2008 I'm making an AJAX form to expand upon the default WHMCS error checking. You'll be able to add your custom Regex to force them to have their PC in that format as long as they have javascript enabled. Currently, the regex for GB is set to: /^(([A-Z]{1,2}[0-9][0-9A-Z]{0,1})\ ([0-9][A-Z]{2}))|(GIR\ 0AA)$/; Which should match these formats of PC: AB0 0CD or AB00 0CD or GIR 0AA As well as the one you mentioned in your post but FORCING a space. I'm hoping to release the AJAX form by the end of the weekend. 0 Quote Link to comment Share on other sites More sharing options...
CSNM-Carl Posted April 2, 2008 Share Posted April 2, 2008 Hi, Apologies if this has already been posted. I've had a few customers register domains and Nominet have replied with this: V029 Invalid reg-postcode: `MZ29EB' (that's a dummy postcode incidentally). Which means that the domain registration fails and I have to login to correct it to MZ2 9EB and resubmit the registration again. Can this be amended to pick up this error beforehand? Si Would also like this. 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted April 7, 2008 Share Posted April 7, 2008 I have placed a transfer with DirectI as the registrar and received the following error: Domain Registrar Error{zip=Invalid PostCode Format, length should be of min. 6 and max. 8 chars containing uppercase letters and numbers with space before last 3 chars.} I used my own postcode which is valid, and seems to meet those parameters: XXXX XXX 0 Quote Link to comment Share on other sites More sharing options...
nielsenj Posted April 7, 2008 Share Posted April 7, 2008 I have placed a transfer with DirectI as the registrar and received the following error: I used my own postcode which is valid, and seems to meet those parameters: XXXX XXX Yes, what he is saying is that a client can enter their postal code in this format: XXXXXXX (without a space) which makes the registration invalid. They would like to FORCE the user to enter a space (XXXX XXX) in so that manual corrections won't have to be done for it to properly register. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted April 14, 2008 Share Posted April 14, 2008 It's suprising how many people seem to be stupid an not know where they live Incorrect postcode and incorrect phone numbers seem to cause the most registration failures What we need is a "post input" validation ruleset which reformats the data the client provides based on things like the country code... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.