Creating a form with a data table