Expand my Community achievements bar.

Binding to a subform and form field vs just form field

Avatar

Former Community Member
I'm trying to find out if there are any benefits to binding the schema to a form field and the subform around it vs just binding the schema to the form field directly, without binding to the subform at all. For example: I know if I bind directly to my form field, I need to have the complete path and don't need to worry about what my form field is named, but if I bind to the subform level first, when I bind the form field, it's not the complete path. Also, if I name the form field the same as the schema element name I want it to bind to, I don't have to set a bind at all. The only time this doesn't work, is when I'm binding to a repeating subform. Are there any benefits to binding to a subform?
1 Reply

Avatar

Former Community Member
There are performance benefits in matching the form structure to the data structure. As you have found out less work has to be done by you (the form designer) as well as it will be faster to match up data to the fields.