commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Resolved] (VALIDATOR-277) Validating disabled field
Date Tue, 06 Jan 2015 23:59:34 GMT


Sebb resolved VALIDATOR-277.
    Resolution: Won't Fix

Javascript routines are no longer maintained and have been deprecated

> Validating disabled field
> -------------------------
>                 Key: VALIDATOR-277
>                 URL:
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: JavaScript
>    Affects Versions: 1.3.1 Release
>         Environment: IE 7
>            Reporter: Kunal Chowdhary
> It seems, inside jcv_isFieldPresent() method we are doing a wrong check. 
> When the field is checked as "disabled" at that time we are marking field present as
"false". Now, if you see to the validateRequired method, when jcv_isFieldPresent() is called
at that time, for disabled field, it negates the condition and mark the disabled field as
required, which is wrong. 
> Ideally, there shouldn't be any validation for the disabled field.
> I guess, we need a fix.
> Please let me know for any confusion.

This message was sent by Atlassian JIRA

View raw message