What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
If I understand correctly, I think you do not want the collapse field text to be included in the form print output when they are collapse.
But when they are expanded, you want them to be included in the print out and behave like they are Header text.
Can you correct if this is not the purpose of the question?
If this is, you may just use Condition logic instead to hide the collapse when they are collapse. And only Show them when expanded.
Let us how we can be of further assistance.