title: Joomla 3 save form data to database with JTable
body: <p>I have problem with saving data to database using JTable. I follow standard joomla documetation for creating component. I have database table <code>tests</code> with <code>id</code>, <code>title</code>, <code>description</code> and <code>created_by</code> columns. I was able to create form with title, description and using standard save function (not edited) save thouse values into database. But I want to insert user id to <code>created_by</code> column, but dont know how to do it.</p>
  
  <p>Dont know if I can define <code>&lt;input type="hidden"&gt;</code> in edit.php view tmpl, or shoud I somehow edit controller or table file?</p>
  
  <p>Can't figure out how joomla parse form data to save them into database using JTable.</p>