Building a form for event registration