Validation in Tailor Fields

Hey everyone. With Tailor out, I find myself coming across this question a lot with the sites I build. Does Tailor fields (specifically the markup that makes the fields appear in the backend [globals, stream, structure etc]) support validation?

Hey, take a look at the Content Fields article:

Each field can specify a validation property that supports all the typical model validation rules. For example:

    label: Your Age
    type: number
        - numeric
1 Like

Not sure how to write the validation for require_if

so far I got

      - required_if:
        - order_status,==,shipped

Figured it out. It’s the following

      - required_if:order_status,shipped
1 Like