i want to create an appointment form with ticket number given to each submitted entry