Hi not sure what is the correct approach to set the Required to true or false from a datacard from a checkbox onCheck.
I initialize a variable with true boolean when checkbox is on OnCheck

and set the Datacard 'required' to true whenever the checkBox is Checked else false.

