That’s the point, I have to create fields dynamically because I don’t know before what fields I need, I know them only after inserting them in Module A, that’s why I wanted a way to create, via code, the fields. If you have a better idea to do what I need I’m listening.
Another way would be to create a “Type” field in Module B, which contains the values of the “Name” field in Module B:
I enter in Module A
USA
Italy
France
and in Module B in the Type field:
USA;Italy;France
but then I don’t know how to explode these values so that in the subpanel (Module B) has as header:
USA Italy France
I hope to have explained well
Translated with www.DeepL.com/Translator (free version)