Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-277

Validating disabled field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.3.1 Release
    • None
    • JavaScript
    • None
    • IE 7

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kunalc Kunal Chowdhary
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: