add saving function for saving items from fields-not finished custom forms