Why are my conditions not working when viewing my form?