In Lock v11 additionalSignUpFields, is it possible to make a mandatory additional signup text field validate if a checkbox is checked?
So, the text field needs to have a valid value unless the checkbox is checked.
Use case: Post / zip code field needs to be filled and be a 4 digit value and is mandatory for submission unless the user indicates they are from a different country by checking the checkbox.