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

[validator] Client-side validation fails if not all form-fields are specified on page

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.1 (alpha)
    • None
    • None
    • None
    • Operating System: Windows XP
      Platform: PC

    • 15912

    Description

      If you have form that has three fields: username, password, firstName.

      in form.jsp - you only specify username, password as fields.
      in validation.xml - you specify that username, password and firstName are all
      required fields.

      Client side/javascript validation will not "kick in" - all fields must be in the
      JSP. It'd be cool if this wasn't a requirement.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            mraible@apache.org Matt Raible
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment