Jump to content

multi-select drop down field validation class


Zohaib-fk

Recommended Posts

Hi,

I have multi-select drop down option and it is working fine.

I am storing values in database like "1,2,3". I was having 'validate' => 'isString' validation in class file for field.

Since field values now change, so this validation not working.

I want to know validation class to be used for multi-select option. (isString or isInt or isGenericName etc)

PrestaShop Tutorials Videos [How to do Tasks]

 

Edited by Zohaib-fk
Post Updated (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...