Custom validation

Hello everyone! We have now the technology to imlpement this efficiently, but we are not sure about the exact use cases that you have in mind. Can you please provide specific examples?

What we have in mind are:

  • conditional fields validations. Right now you can use a plugin to hide/show fields or change their content depending on the selection of another one, but you cannot properly validate that. We will be able to support this use case.
  • multi-field validation. Similarly to the above, you want to validate the content of more than one field together as one field’s content might depend on the previous one to make sense, e.g. Country/State/Province
  • particular validations that are not available, like particular pattern-matchings that are not easily achieved now or that are not supported

What we think NOT to provide:

  • calls to external systems
  • calls to DatoCMS to get other items, so you won’t be able to provide uniqueness checks or checks against other records, e.g. via links

What do you think?