United Kingdom Postcode Formatter

postcode-poster-799x1200.jpg
Released:
Thu Oct 05, 2023 6:01 pm
Validated for:
Phoenix 1.0.7.0 - 1.0.8.20
Released:
Sun Oct 01, 2023 10:01 pm
Validated for:
Phoenix 1.0.7.0 - 1.0.8.0
Released:
Mon Jul 17, 2023 2:52 pm
Validated for:
Phoenix 1.0.8.1 - 1.0.8.20
Description
This hook will change the customer inputted UK postcode to the format that is well known within the UK. Examples;

Aa25Ra becomes AA2 5RA
wc1a1aa becomes WC1A 1AA
QA1 1QA will return a "Invalid Postcode" message as this postcode does not exist

I have tested this using some of the more "weird" postcodes, and it does seem to function properly in all cases.
£25
v0.3 - adds in logic to attempt validate the inputted postcode as per Royal Mails sequence of postcodes
NOT SUPPORTED
TESTED 7.x
TESTED 8.0
  • Author burt
  • Last updated Thu Oct 05, 2023 6:01 pm
  • Rating
    (1)
  • Categories Other
  • Addon Revisions/Downloads
    Version
    Phoenix Version(s)
  • United Kingdom Postcode Formatter v0.3
    v0.3
    • 1.0.7.0 - 1.0.8.20
  • United Kingdom Postcode Formatter v0.0
    v0.0
    • 1.0.7.0 - 1.0.8.0
  • United Kingdom Postcode Formatter v0.1
    v0.1
    • 1.0.8.1 - 1.0.8.20