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

[validator] Float validator can't validate the string with several dot

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • None
    • None
    • None
    • Operating System: Windows 2000
      Platform: PC

    • 32351

    Description

      Now I use the sturts validator to assure a form member be a float. When I input
      1.2.0.2 into a text which must be a float, the javascript that created by
      struts won't work, and value of the form member will be 0.0
      I don't know why. If i input other charactors(not digital or dot), the
      javascript works , and popup a windows alert.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            gxsheng@televigation.cn grinner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment