Trilium Frontend API
    Preparing search index...

    Type Alias StandardValidatorType

    StandardValidatorType:
        | "required"
        | "unique"
        | "integer"
        | "float"
        | "numeric"
        | "string"
        | "alphanumeric"

    Tabulator has a wide variety of built in validators: Note: For a guide to adding your own validators to this list, have a look at the "Extending Tabulator" section.

    Note By default all validators, except the required validator will approve any empty value (ie. empty string, null or undefined). to ensure empty values are rejected you should use the required validator.

    • Required, The required validator allows values that are not null or an empty string
        {title:"Example", field:"example", validator:"required"}
    
    • Unique, The unique validator allows values that do not match the value of any other cell in this column
        {title:"Example", field:"example", validator:"unique"}
    
    • Integer, The integer validator allows values that are valid integers
        {title:"Example", field:"example", validator:"integer"}
    
    • Float, The float validator allows values that are valid floats
        {title:"Example", field:"example", validator:"float"}
    
    • Numeric, The numeric validator allows values that are valid numbers
        {title:"Example", field:"example", validator:"numeric"}
    
    • String, The string validator allows values that are a non-numeric string
        {title:"Example", field:"example", validator:"string"}
    
    • Alphanumeric, The alphanumeric validator allows values that are explicitly numbers and letters with no symbols or spaces
        {title:"Example", field:"example", validator:"alphanumeric"}
    
    • Minimum Numeric Value, The min validator allows numeric values that are greater than or equal to parameter
        {title:"Example", field:"example", validator:"min:5"} \\value must be greater than or equal to 5
    
    • Maximum Numeric Value, The max validator allows numeric values that are less than or equal to parameter
        {title:"Example", field:"example", validator:"max:5"} \\value must be less than or equal to 5
    
    • Minimum String Length, The minLength validator allows string values that have a length greater than or equal to parameter
        {title:"minLength", field:"example", validator:"minLength:5"} \\value must have a length greater than or equal to 5
    
    • Maximum String Length, The maxLength validator allows string values that have a length less than or equal to parameter
        {title:"Example", field:"example", validator:"maxLength:5"} \\value must have a length less than or equal to 5
    
    • In List, The in validator allows values that match a value from the | delimited string in the parameter
        {title:"Example", field:"example", validator:"in:red|green|blue"} \\value must be 'red', 'green' or 'blue'
    
    • Starts With, The starts validator allows string values that start with the parameter (case insensitive)
        {title:"Example", field:"example", validator:"starts:bob"} \\value must start with 'bob'
    
    • Ends With, The ends validator allows string values that start with the parameter (case insensitive)
        {title:"Example", field:"example", validator:"ends:green"} \\value must end with 'green'
    
    • Regular Expression, The regex validator allows values that match the supplied regex
        {title:"Example", field:"example", validator:"regex:\\.com$"} \\allow strings that end in '.com'