October 18, 2023

String Length

Validate that a string meets the length requirement

We now support validating string lengths. Developers can leverage this validation by using  "validate":"length" within the template columns array. Check the docs for more details.

{
  "columns": [
    {
      "name": "SKU",
      "required": true,
      "data_type": "string"
      "validations": [
        {
          "validate": "length",
          "options": {
            "min": 8,
            "max": 12
          }
        }
      ]
    }
  ]
}

What's Next?

We'll be adding many more validation options over the coming weeks. If you have any feedback or ideas for which validators we should prioritize next, reach out through our GitHub repository or community Slack.

To the top
Background graphic with dots