added field properties for edit visibility and arbitrary css classes