If input field is empty clear other fields (else if condition)