Trying to create a form with a dual purpose