Condition is not working in my form.