reimplemented inputbox, textarea, selectbox and checkbox using new fields