The ability to call the subforms name from within the subform itself would allow the conditional value of an element to be set based on its parents name.
This will allow a single subform to be used multiple times for a number of different situations which are basically the same but slightly different.
For example the subform names are socket / rope / mast (they are all the same subform template but each instance is given a different name). An element within the subform template is ref_dim. The conditional value is ref_dim will show only when the parent subform is named 'rope'.
It is difficult to explain but I believe it will make maintenance and changes to the subforms much easier because instead of having 3 identical subform templates with one slightly different (i.e. with the ref_dim element etc.) you could have a single subform template.
This makes a huge difference when you have 50 location types and thus currently require 50 slightly different subforms instead of one subform with a bunch of elements which only show when the correct name is given to an instance.
Please sign in to leave a comment.