event.checkoutForm: inputName / values

I am trying to get all the values from wix event registration page. I added wixEvents_onOrderConfirmed to capture all the fields. The problem I am facing is that I only see the values entered (val1, val2) in the each field, not the field names. So I have no idea on how to identify the name of the field.
Code:
export function wixEvents_onOrderConfirmed(event) {
for (; arrInd < event.checkoutForm.inputValues.length; arrInd++)
{

      valStr += arrInd +  ". "  + event.checkoutForm.inputValues[arrInd].inputName +  ": "  + event.checkoutForm.inputValues[arrInd].value +  "; " 

 } 

}

I see output as

  1. undefined: val1; 1. undefined: val2; 2. undefined: val3;

I have 12 fields in the registration form. If the user enters only three fields, then event.checkoutForm.inputValues.length will be 3. So I have no idea on which fields were filled by the user.

How do I get inputName?

Thanks
Jay