Problems setting Conditions in a registration form