Copy link to clipboard
Yes, copying data between field is quite simple, and the type of field doesn't matter.
For your issue, the important thing is that the field names have a predicable and sequential naming convention. Then you can write code that takes advantage of the naming to find and transfer the field data
For example, you could name the fields in the first groupt "1.Text1" "1.Text2" etc. and the fields in the second group "2.Text1" "2.text2" and so on with as many groups as necessary.
This groups the fields using a number. Fields in each group have the same name, but with a different group prefix.
This code will transfer the data no matter the field type of number of fields in each group
aFldList = this.getField(i).getArray();
.value = this.getField(aFldList .name.replace(/^\d/,i-1)).value;