Having trouble with form conditions.