Gino Dekeyzer Posted February 28, 2014 Share Posted February 28, 2014 (edited) Hi, when a company wants to create an account he has to fill in his siret code. Currently somewhere there is a validation rule for this field. For Belgium it is for instance BE0123.456.789 I want to remove this validation rule so that a company also can fill in: BE 0123456789 or BE0123456789 or BE123456789 or something else (with or without spaces, with or without points, without restrictions for the length). Where can I remove this validation rule so that any text can be filled in? I'm using PS 1.5.6.0 Many thanks! Kind regards, Gino Edited February 28, 2014 by Gino Dekeyzer (see edit history) Link to comment Share on other sites More sharing options...
Gino Dekeyzer Posted February 28, 2014 Author Share Posted February 28, 2014 When you put in the file 'validate.php' (/classes) a code like this: if (Tools::strlen($siret) != 100) return true it is solved! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now