Hello all,
I have a complex form and there is a logic realted to one boolean switch field - when it goes false I need to delete some fields of the form not only on UI(this part is working) but on form level as well(this part is not working). I tried form.deleteField method inside listeners of the switch field but despite the fact it is called, still when I submit form the fields I deleted are still arriving as fields of submit value. What can I do with that? Maybe there is an alternative way?
Thank you