I have to type for one filed of entity and I want to show each of them in special condition
but I don’t want to define form type of entity 2 time
Is there any solution?
for example class1 have ‘name; field
in class1Type I add below code
->add(‘name’, ‘type2_name’) ;
and in twig when a checkbox is checked I will show name as type1_name otherwise show name as type2_name
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.