Hi There
I’ve done some googling on this issue and I think I’ve worked out how to do this, I’d just like to know if the solution I have is correct, and also if somebody could point me in the right direction for writing this out.
A client I am working for has requested a Postcode checker, to see if the user is eligible to recieve a service. I have a list of many postcodes. The user would type in their postcode, hit enter or submit, and it will flash up if the postcode they have entered matches one in the list.
I am thinking I’m going to need to write a regular expression to achieve this task, but I have no idea where to begin, and then I’m not sure how I can work this into a javascript code to get the validation working on a text field. Can anyone point me in the right direction?