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

Move the trim() function from validateRequired.js to validateUtilities.js

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.4 Release, 1.2.0 Release, 1.3.0 Release, 1.3.1 Release
    • 1.4.0 Release
    • JavaScript
    • None

    Description

      valdiateRequired.js has a trim() function which is used by other JavaScript validations (e.g. validateMinLength.js) - this function should be in the "common" utilities script/file.

      Raised on the user list in this thread: http://tinyurl.com/2ursju

      Shale project created a custom version of valdiateRequired.js with this change - see https://issues.apache.org/struts/browse/SHALE-248

      Attachments

        Activity

          People

            niallp Niall Pemberton
            niallp Niall Pemberton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: