[HtmlUnit] [htmlunit:bugs] #2001 Insufficient validation of input elements

RBRi via HtmlUnit-develop <[email protected]> Mon, 19 Nov 2018 18:21:47 -0000
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID </p/htmlunit/bugs/2001/8e3f322183943e9a109a5de438042ed2f2408063.bugs@htmlunit.p.sourceforge.net>
Hi Anton, thanks for your bug report. Every contribution is welcome. The source code is on GitHub; if you like you can also create a PullRequest instead of an patch.


---

** [bugs:#2001] Insufficient validation of input elements**

**Status:** open
**Group:** 2.33
**Created:** Mon Nov 19, 2018 12:29 PM UTC by Anton
**Last Updated:** Mon Nov 19, 2018 12:29 PM UTC
**Owner:** nobody


Hi All,

It seems that current implementation supports only required attribute validation for input element (attribute required and value is not empty).

But html specify more options:
- maxlength
- min
- max
- pattern

So it would be nice to use them to calculate input validity before form submission.
If it would be necessary I could provide patch for this feature a bit later.

Best regards


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/htmlunit/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

_______________________________________________
HtmlUnit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop