Zohaib-fk Posted November 20, 2017 Share Posted November 20, 2017 (edited) Hi, I want to know what will be valiation class for comma separated data saving in table. For example 1,2,5,9 like this. Some of the validation class are isString,isBool,isGenericName,isBool. I tried isInt and isString but both not working and gives invalid values error. Any Idea? PrestaShop Tutorials Videos [How to do Tasks] Edited June 30, 2021 by Zohaib-fk Post Updated (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted November 22, 2017 Share Posted November 22, 2017 I highly doubt there is an existing validation rule for this, so you will need to first start by defining what you want to achieve. Are you validating that there are commas, or are you validating the data between the columns? Once you figure that out, then you will need to create your own validation function and then execute it 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