I tried this solution: http://www.infopathdev.com/forums/p/26099/90700.aspx but doesn't work.
I have two radio buttons (Yes (0) and No(1)) and if the client chooses Yes to appear another radio button with 2 choices if the client chooses the first appears a text box to fill. And now the client decide to choose the first option NO... If I try to Save the form I receive an error:
"The form cannot be submitted because it contains validation errors. Errors are marked with either a red asterisk (required fields) or a red, dashed border (invalid values).\n\nField or group: my:externalCompanyName\r\nError: This field is required\r\n""
I thought when I choose No after choosing Yes the fields were clean.
Please see the image with the example.