Last active
March 15, 2017 11:49
-
-
Save manchumahara/a1b4aae16700ffe3b2fe to your computer and use it in GitHub Desktop.
Repeatable Form Field for Joomla http://wp.me/p6mwqI-3q
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<field name="myrepeatfield" | |
type="Repeatable" | |
icon="list" | |
description="Field Description here" | |
label="Field Label Here" | |
default="{'customfield1':['Custom Field 1 value repeat1', 'Custom Field 1 value repeat2'], 'customfield2':['Custom Field 2 value repeat1','Custom Field 2 value repeat2']}"> | |
<fieldset hidden="true" name="myrepeatfield_modal" repeat="true"> | |
<field name="customfield1" | |
label="Custom Field One" | |
size="30" | |
type="text" /> | |
<field name="customfield2" | |
label="Custom Field Two" | |
size="30" | |
type="textarea" /> | |
</fieldset> | |
</field> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment