How do I create a form with multiple if/then conditions