Condition on my form is not working