Retrieve pre-filled field values from document after the document is completed

Retrieve pre-filled field values from document after the document is completed

Hello,

I have a document that has the following format:
  1. It has the following pre-filled fields, which must be filled in by the sender:
    1. Text Field A
    2. Date Field A
  2. It has the following fields which must be filled in by the signer:
    1. Text Field B
    2. Date Field B
    3. Signature Field
I want to retrieve values for Text Field A and Date Field A from the document after it has been completed. How do I accomplish this?

Example:

Let's say a document is created with the following information:
  1. Text Field A: Apple
  2. Date Field A: 2022-04-01
The document is then sent out to be signed. The signer adds the following information:
  1. Text Field B: Burrito
  2. Date Field B: 2022-03-07
  3. Signature: <their signature>
When the document is signed, I want to retrieve the values "Apple" and "2022-04-01" from the document. These are the values of the fields that must be pre-filled before the document is sent out. These are not the values that the signer added to the document.

Can someone explain to me how this can be done?

Thanks,