In this article, we will demonstrate how to retrieve values from a subform. We'll use a simple app as an example, where we read the value from the subform and set it in a form field.
Form Design
Subform Design
Make sure to remember the Form ID of your subform, it will be necessary for your Custom HTML.
Parent Form
Custom HTML
This is the Javascript code that reads the value of the subform and sets the field value.
Download the sample app: