Array passes form validation for string element with the same name -- how to fix? |
If the field name is an array - i.e. cms[] - then you must use the exact same for your Validation Rule field name. e.g.
PHP Code: $this->form_validation->set_rules('cms[]', 'CMS', 'is_natural_no_zero'); See Using Arrays as Field Names |
Messages In This Thread |
Array passes form validation for string element with the same name -- how to fix? - by Stanzi1791 - 09-25-2018, 01:55 PM
RE: Array passes form validation for string element with the same name -- how to fix? - by dave friend - 09-25-2018, 09:04 PM
RE: Array passes form validation for string element with the same name -- how to fix? - by Stanzi1791 - 09-26-2018, 02:47 AM
|