So the problem is as follows:
We have a Powermail 1.6.11 form in Typo3 4.5.40.
There is a radiobutton. When user selects an option, some of the mandatory fields are either shown or hidden via js. If the fields are hidden, they, of course, become unmandatory.
If I remove "required" checkbox in powermail form builder and add required attribute with js, I don't get the standard validation messages of Powermail. If I check fields as "required", I get error even if fields are hidden and html attribute is removed.
So the question is: is it possible to change the "required" status of the powermail via Typoscript depending on radiobutton value?