Change field required dynamically base on user select in Symfony 4 Form
up vote 0 down vote favorite i need my app require(true/false) a title(TextType) based on what select from 'event' field(ChoiceType) in a single form. So, how can i modify my 'title' base on what user select on 'event' dynamically? forms symfony share | improve this question asked Nov 10 at 7:38 user3188348 181 1 9 Form events dude. Or custom form constraint. – emix Nov 10 at 9:42 add a comment | up vote 0 down vote favorite i need my app require(true/false) a title(TextType) based on what select from 'event' field(ChoiceType) in a single form. So, how can i modify my 'title' base on what user select on 'event' dynamically? forms symfony share | improve this question asked Nov 10 at 7:38 user3188348 181 1 9 Form events dude. Or custom form constraint. – emix Nov 10 at 9:42 add a comment | up vote 0 down v...