Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8288823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:21:33+00:00 2026-06-08T12:21:33+00:00

I handle a multi-tab form that is validated by one group per form-tab. When

  • 0

I handle a multi-tab form that is validated by one group per form-tab. When I get errors while binding request, I’d like to know the first tab (ie validation group) that is not valid.

Is it possible with Symfony 2.0, and how ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T12:21:34+00:00Added an answer on June 8, 2026 at 12:21 pm

    Unfortunately this is currently not possible without hacking the core. The problem is that Form contains a references to FormError objects, which do not keep references to the original ConstraintViolation objects, which also do not keep references of the group under which the violation occurred.

    I recommend to open a feature request ticket on the issue tracker.

    Even if we added this feature, the problem would remain that a constraint is only evaluated once if it belongs to multiple groups that are validated at once. The violation would then only store the first group, even though it would have failed in the other groups too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I do, preg_replace('/[^a-zA-Z0-9\s-_]/','',$val) in a multi-lingual application, will it handle things like accented
So I have an FragmentActivity that contains 3 tabs, one tab is essentially a
I design a multi-threaded application that will monitor and handle files in selected folders
Emacs obviously can handle multiple asynchronous sub-processes, otherwise a multi-language programming environment like org-babel,
I have a custom UIImageView class which I use to handle multi-touch events on
I'm after a bit of advice on how to handle a multi tenant site
I handle commands inside a RoutedCommand class that implements RoutedUICommand. This would help me
I would like to handle a return result from an AsyncTask outside of the
Is there any way to handle multi-touch in a class which extend NSView? currently
I've written a multi-threaded Java program to solve an embarrassingly parallel problem such that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.