I need to make a form with dependent fields. I have already tried a lot of options, but have not found the right way. As in the picture below, I'm trying to load a new XML file when you select an option from the list.
When the first list, select "Option 1" in the form of outputting a field from a file "file1.xml" in which other standard field Joomla.
Perhaps the answer is very simple, but I was very tired and cant find it.