Skip to content

Add additional validation rules #1

@JasonTheAdams

Description

@JasonTheAdams

The following rules would be useful:

RequiredIf

Conditionally sets a requirement based on the value of a sibling value

requiredIf:field,value

RequiredWith

Conditionally sets a requirement based on whether a sibling value is set and non-empty

requiredIf:fieldOne,fieldTwo

In

Limits a field's value to a fixed list

in:blue,yellow,red

DateTime

Checks that the value is a valid DateTime format and outputs a DateTime object. A specific format to validate for can be passed as an optional parameter.

datetime
datetime:yyyy-mm-dd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions