My registrations are not being captured in the form and mandatory fields not working