get properties from input fields in body