User tests: Successful: Unsuccessful:
We lost this functionality in Joomla 3 because we want to be able to nest within for the purpose of making repeatable fields. This is a better xpath that avoids selecting tags that are nested within other tags but does select them in any other structure. In other words, this will work again:
<fieldset>
<fields>
<field />
</fields>
</fieldset>
That's funny. The tracker page seems to be broken. I just get "Call to undefined function renderAssociationList()". Oh well, I assure you this issue is real and this fix is legit.
Yep, tracker is down. Ticket is open since a day or so...
As the tracker item explains, since 3.0, we have lost some flexibility in the structuring of jform xml files. In the past, it was possible to nest any number of <fields>
tags within a <fieldset>
tag. We lost this so that we could get repeatable
fields but we didn't need to lose it. There's a way we can have both.
After applying this patch, you should be able to structure a jform xml document with some <fields>
tags nested within a <fieldset>
tag (and within each other as well) and the form will still work. Furthermore, you can have repeatable tags and they will also work.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-07-27 15:08:43 |
Oh, right, there is a tracker item for this: https://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30462&start=0