How disable mandatory when a field is hidden/disable

How disable mandatory when a field is hidden/disable

Hello, 
I've a form with a radio button, when we select a word, the form hide/show different field but I want place a mandatory on field, but if the field is hide/disable I can't send form because madatory of this field creat problem. 

Thank you