How to extract data from a Libreoffice Writer form or questionnaire to a file, i.e. save responses without the questions?

I’m using Libreoffice version 5.4.5.1 and Windows 10. I can create with Writer a form for a questionnaire, with text boxes for the respondents to type in a number, and tab from one response box to the next. I would like to collect such a questionnaire from the respondents and then save just the responses, without the questions, in a comma delimited bit of text that could then be imported into a spreadsheet or statistical package. I can’t figure how to tell Writer to save just the data, without the rest of the questionnaire, to a file. Is there such a command, and if not, how would one go about writing a macro to do this – or getting a macro that someone else has written? Thanks very much.