Prefilled fields in a form

hello… i’m having the same issue, form fields get prefilled as planned but they’re empty when submitted… is there a correct way of doing this?