No Code Attached Yet
avatar swallown
swallown
24 Nov 2025

When creating a new subform field that includes at least two file selector fields of any type (like media or JCEmedia), only the first field (media type) works correctly. Selecting any file using the second or third field (media type) always updates the value in the first field, making it nearly impossible to manage. This occurs for new values; data created with Joomla versions 5.4 or earlier displays correctly, but creating new data or editing is not possible. This functionality is essential for us. Thank you !

avatar swallown swallown - open - 24 Nov 2025
avatar swallown swallown - change - 24 Nov 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 24 Nov 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 Nov 2025
avatar swallown swallown - change - 24 Nov 2025
The description was changed
avatar swallown
swallown - comment - 24 Nov 2025

The required field setting for all media type fields is also omitted.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46487.

avatar swallown swallown - edited - 24 Nov 2025
avatar brianteeman
brianteeman - comment - 24 Nov 2025

@Fedik didnt we see this before?

avatar Fedik
Fedik - comment - 24 Nov 2025

Need more info, it is not very clear what exactly going on.

How did you create subfrom field, with XML in your extension or it is Joomla Custom field?
What parameters the field have?

It can be related to

avatar swallown
swallown - comment - 24 Nov 2025

This has been happening since the update to 5.4.0. I've tried uploading an image and diagram to visualize the problem, but it doesn't work.

Steps to recreate the problem:

  • Create a new field group:

  • Create three Joomla fields for the group: 1st text, 2nd media, 3rd media, indicating that they are for subforms and that they are all required (this is optional).

  • Create a subform field for the same group and include the three previous fields (it doesn't matter if it's repeatable or not).

  • Try populating the group by selecting files for the two media fields.

Result: Only the first media field (select) is updated, even though 20 different fields are created and selected. The required field setting also doesn't work.

All fields are from the Joomla core, and this is on a clean installation from version 6 beta. The same thing happens with Joomla 5.4.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46487.

avatar swallown
swallown - comment - 24 Nov 2025

This could be a JavaScript error. The console displays the following error as soon as one of the fields receives focus (Three resources are being displayed because the group form has three media fields):

Duplicate form field id in the same form. Multiple form field elements in the same form have the same id attribute value. This might prevent the browser from correctly autofilling the form.

To fix this issue, use unique id attribute values ​​for each form field.

3 resources
Violating node
Violating node
Violating node


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46487.
avatar Fedik
Fedik - comment - 25 Nov 2025

Unfortunately I cannot reproduce the error. It is working good for me.
I made subform Custom field with 2 media in it and each time I add a new subform row and add value to the media fields all is working good.

As a guess, please check whether you have override for layout joomla.form.field.media from older version.
Also could be that there are some other extension involved here and break the field.

avatar swallown
swallown - comment - 26 Nov 2025

Thank you for your reply. This is happening on more than 30 websites, primarily using Yootheme/Essentials and Akeeba. I don't have many other dependencies on extensions, and I haven't overridden any settings in that regard.

I'm wondering what could be interfering in the backend content manager (fields and field groups), because the duplicate IDs of the elements are clearly visible in the DOM, and they're out of order and don't correspond to the container name/label.

I'm going to perform a completely clean test installation from scratch and will provide a detailed report. Thank you very much.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46487.

Add a Comment

Login with GitHub to post a comment