ameerthehacker / ameerthehacker/jquery-simple-validator

input type=url empty field fails validation

Open
#3 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
9
Forks
10
PR merge metrics
No merged PRs in 30d

Description

I added a few input type=url fields to a form. There is no data in the field. The field is not marked as required. If the form is submitted, it fails saying "The url is invalid."

**Example**:
``

**Proposed fix**:
If the field is not required, then value='' could be accepted as a valid URL.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.