Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Possible to use "or"? #98

@pcxstephan

Description

@pcxstephan

Hi!

I want to validate an IP address field as either IPv4 OR IPv6. Using the directive I tried validate="ipv4|ipv6" but this makes it so that the field has to be valid for IPv4 AND IPv6. Is this possible to do without writing a custom validation function?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions