Skip to content

Validate From URL Not Working #12

Description

@adammcarth

There's a big problem with the URL validation method.

The functions used for Instance validations output either true or false, and are stored in a variable called test. This is so that later on we can use the specific callback function for the validation rule (eg if ( test ) { ... } else { ... }.

Now the URL method uses an async function, which CANNOT return a value of true or false in this way. Therefore, the validate_url function is returning undefined and all tests using this rule appear to pass.

Would love a hand with this one.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions