forms - Symfony2 force subform validation when every field is empty -


I have two entities (let's call them A and B) to force one from one relation and to populate them. One form B Entity Field Unit A has a population on a state basis:

Unit A: State Unit B: Both Fields Empty

Unit A: State 1 Unit B: Field 1 < / P>

unit A: state 2 unit B: field 1 empty field 2 filled

Both fields are not allowed in the state.

So I created 3 custom callback Vedic and do not have permission to check states 1, 2. Unfortunately, the investigation has not started on 1 and 2 states, when both fields are empty, the fields are clearly empty; By actually linking a fake hidden field the verification process starts, because the form is populated!

Obviously this is a Hash solution, so I was thinking that there is a way to force subform validation is empty.

does not valid symphony forms, it recognizes entities, your best part is that To validate the work in your institutions and to accept it by using the 'Gator' verification of Symphony:

I believe in your case, the unit which has the verification form Type one associated with

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -