carplu Posted March 19, 2015 Share Posted March 19, 2015 Hi My client tells me that they often have clients that forget to add the number behind the street address Is there a way to controll that and make it a required format? Link to comment Share on other sites More sharing options...
NemoPS Posted March 21, 2015 Share Posted March 21, 2015 Well, there is, but you need to modify the addressController, so that instead of only checking the address is not just empty, it also performs a regular expression check on it. Do you know php? Link to comment Share on other sites More sharing options...
carplu Posted March 22, 2015 Author Share Posted March 22, 2015 Hi Nemo1 I know al little echo and stuff :-)), but not enough to come up with code myself... but if someone has code for this i can add it where it needs to go... Link to comment Share on other sites More sharing options...
NemoPS Posted March 23, 2015 Share Posted March 23, 2015 I am definitely no regex [spam-filter], I found this on SO http://stackoverflow.com/questions/9397485/regex-street-address-matchIt looks a bit complicated to match an address though Link to comment Share on other sites More sharing options...
Recommended Posts