form validations for 'then' and 'else' types cont.