This topic contains 1 reply, has 2 voices, and was last updated by Yevhen Shyshkin 7 years, 9 months ago.
- Topic
Hi EveryBody,
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?
Thanks
——————-
for example class1 have ‘name; fieldin class1Type I add below code
$builder->add(‘name’, ‘type1_name’)
->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.