3

in Expression engine form Admin section there is option of validating "Is this a required field?". doing the check box also it the validation is not working. please any body help me as soon as possible

it already there in admin section saying "Is this a required field?", i checked the check box and submit it. but still the validation is not happening. location of page is CP>Home>Administration>Custom Channel> Fields>Edit Field

Field Type is Matrix. Matrix Configuration is file type

2
  • Could you please try to explain a bit more about what your problem is? Are you trying to edit an entry, and are the required fields not being required? Or do you want to do additional validation? Or is this about a module? – Steven Feb 21 '13 at 9:12
  • You seem to have created two separate accounts. To keep your rep and questions under one account, please merge your accounts as detailed here: expressionengine.stackexchange.com/help/user-merge – Adrian Macneil Feb 21 '13 at 10:01
5

If your field is a Matrix field, just checking the native "Is this a required field?" is not sufficient. You need to look further down in your Matrix columns. There is an "Is col required" setting for each column in your matrix field. Tick those and presto, required columns in a matrix field.

You can also constrain the number of rows by using the min rows and max rows parameters

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.