added ability to get form field values