Questions tagged [subform]

Sub Form Field function is introduced in Joomla! 3.6. This function allows developer to nest XML forms inside each other or reuse existing forms inside the current form.

Filter by
Sorted by
Tagged with
2
votes
1answer
14 views

How to use Subform in nested Subforms

I want to use Showon in a nested XML file and I want to reference the original XML file's field name. I read that this is not possible in Joomla! Subforms because if I were to create the same ...
0
votes
1answer
73 views

Own field type in subform, using with content plugin

for curiosity: I'm using this method to add fields to the standard articles: https://docs.joomla.org/Adding_custom_fields_to_core_components_using_a_plugin/de I have to use this, since the fields-...
1
vote
2answers
81 views

How display values from subform in front end?

I created a simple component with a subform that stores data in a database. Now I need to display this data on the front page. The data is displayed as is from db {"comment0":{"comment":"one"},"...
2
votes
1answer
160 views

Javascript to update input checkbox in a Joomla subform

I have a repeatable subform, that has a number of checkboxes that are effected by the selections made in a list field that is also part of the subform. I added a onchange function the the list field ...
2
votes
1answer
675 views

How do I display the values from a subform

I have a sub form in my XML, which works fine in the back end, but I'm not sure of the best way to get the data out of the subform and display it. Here's part of my original XML <field ...
1
vote
1answer
487 views

Subform inside modal

I am using subform form field type inside my plugin parameters (I am reusing a form in several places of my plugin parameters, with success). What I really need to manage is to use each subform ...
3
votes
1answer
620 views

Subform multiple data not saving

I'm trying to use the Joomla subform field with multiple="true" on (instead of using the old modal repeatable method). My problem is that the data is not saving to the database. I have read multiple ...
5
votes
2answers
2k views

How to use a custom layout with JForm subform fields?

I want to reuse some forms in my component. The subform field does the job. However, I need to remove some fields and/or field groups when displaying the subform. I tried to use the JForm methods ...
2
votes
1answer
476 views

Joomla 3.6 nested subforms not saving

I am trying to use the new subform feature to implement nested forms. This greatly increases the readability for developers and I thought it was already possible to do but after testing I am not so ...
2
votes
1answer
736 views

use Joomla Subform field values in custom field from same module

I have the basic xml file where in I call subforms into two tabs. Called Tab 1 and Tab 2. The content of this file is below. mod_something.xml <fieldset name="tab1"> <field name="...
0
votes
1answer
144 views

Sub Form Field Frontend Editing Bug?

I have been playing around with the new Subform field. But it seems to be buggy in front end editing. If I delete or move an item and click save, one of the items will be duplicated and no items ...
5
votes
1answer
242 views

Joomla 3.6 How to migrate data from repeatable to subform

The new field type subform does not retrieve old data repeatable, even fields have the same names. I created many posts with repeatable. The data are stored in extra fields of com_conent. attribs ...
1
vote
0answers
628 views

Why doesn't my subform field data get saved?

I've been trying to debug this all day. I can't figure it out. My subform field: <field name="tricks" type="subform" formsource="administrator/components/com_test/models/forms/bagtrick.xml" ...
9
votes
4answers
2k views

How to get value from Sub Form

I want to embed a simple slideshow to my template, and I want to use subform to make easier to change the image. This is the code I use to call the child xml file <field name="slideshow_items" ...