put data of element to form field