Created a form and saved the data to the database.