Added clear form function. Added tableRefresh function to data submission.