getting and setting values from rows into form