updated edit to support select fields in form