Jump to content

UK postcode error in Nominet


Si

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...

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