Hi
I have a dropdown and it has 3 values in it and I have 3 subforms(min count=0, max count=1).
Based on the selection of the dropdown
If value is 1, I am adding an instance of subform 1
If value is 2, I am adding an instance of subform 2 and deleting the instance of subform 1
and so on.
This functionality works fine.
The question is when i generate XML using "submit by email" button, the generated XML also contains the tags of the subforms which are not present in the form and got deleted. They appears as an empty tag in the xml which i do not want in that file if that subform instance got deleted.
Pls. Help
Thanks
Abhiram