Generates code to save record to db when submit is clicked (in generated application)