Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #12032
Closed
Open
Issue created Dec 28, 2013 by Administrator@rootContributor

form-group validation class with multiple fields

Created by: janhartmann

I have a form-group with three fields in. These fields are being validated on submit.

Problem here is that the form-group either should have a "has-success" or "has-error" class. But when the first two fields are not valid, and the last one is, the form-group gets the "has-success" class hightighting that all fields are valid, but they are actually not.

Wouldnt it be better if the form-group should have global state (has-success or has-error) and each field has a class as well for hightighting what field in the from-group is success/error?

Jan

Assignee
Assign to
Time tracking