field and form for ORM and front end