I'm working with subforms. I'm developing a prosses where the user has mandatory fields, but these should only be mandatory if he's going to approve the form and if he rejects it, the fields become optional and disable. I've done this using setOnChange on the dropdown variable containing the options "approve" and "reject" but this time using subforms it is not working. I must say that the dropdown variable and the mandatory fields are in different subforms that form part of the main form.
Is it impossible to do this using subforms? is there a workaround?