<fieldset name="test">
<field
name="field-name"
type="subform"
formsource="modules/mod_custom/example.xml"
multiple="true"
label="Subform Field"
description="Subform Field Description" />
</fieldset>
example.xml
in the folder modules/mod_custom
, place this as content of that file:<?xml version="1.0" encoding="UTF-8"?>
<form>
<fieldset name="section1" label="Section1">
<field name="example_text" type="text" label="Example Text" />
<field name="example_textarea" type="textarea" label="Example Textarea" cols="40" rows="8" />
</fieldset>
<fieldset name="section2" label="Section2">
<field name="example_list" type="list" default="1" class="advancedSelect" label="Example List">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
</fieldset>
</form>
<fieldset name="test">
<field
name="field-name"
type="subform"
formsource="modules/mod_custom/example.xml"
multiple="true"
min="0"
max="5"
label="Subform Field"
description="Subform Field Description" />
</fieldset>
min
or max
value given, it seems logic that the numbers of rows that can be generated are infiniteYou can only make up to one new row for the subform field
Joomla! 3.6.2
Status | Closed | ⇒ | New |
Closed_Date | 2016-08-08 18:48:03 | ⇒ |
hi , And what is the code to register the template in order to reach the parameters?
Normal field type, it worked, but when I add the field type type = "modal_article", then the creation of a new slide, this type does not work. How to update the script that would work korektno dynamic types?
Does this solve your issue?
#11158