Condition to show text field in not working in my form.