Condition to show hide form field is not working.