Check data of subform with Client Script

Check data of subform with Client Script

Hello, 

I read in the this post its possible to access the data from a subform. I have a custom made subform in the Sales Order Module but just can't access the value of it. I get the API names with getApiName() done as the Docs describe. But not the data of the subform. How can I achieve this could you help me please?