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.

enter image description here

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.


Have you tried to use Subform field?. It allows you to nest XML forms inside each other or reuse your existing forms inside your current form. And your need, you can combine it with showon attribute.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.