How do I create an event registration form with discount codes?