Skip to content

Commit 28384b5

Browse files
committed
Modified Label Show/Hide
1 parent 10057b6 commit 28384b5

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

forms/fielditem.xml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,19 @@
3131
<option value="hidden">MOD_JDSCF_TYPE_HIDDEN_LBL</option>
3232
</field>
3333
<field
34+
showon="type!:hidden"
35+
name="show_label"
36+
type="radio"
37+
label="MOD_JDSCF_SHOW_LABEL_LBL"
38+
description="MOD_JDSCF_SHOW_LABEL_DESC"
39+
class="btn-group btn-group-yesno"
40+
default="1"
41+
>
42+
<option value="1">JYES</option>
43+
<option value="0">JNO</option>
44+
</field>
45+
<field
46+
showon="show_label:1"
3447
name="label"
3548
type="text"
3649
filter="RAW"
@@ -45,18 +58,6 @@
4558
label="MOD_JDSCF_VALUE_LBL"
4659
description="MOD_JDSCF_VALUE_DESC"
4760
/>
48-
<field
49-
showon="type!:hidden"
50-
name="show_label"
51-
type="radio"
52-
label="MOD_JDSCF_SHOW_LABEL_LBL"
53-
description="MOD_JDSCF_SHOW_LABEL_DESC"
54-
class="btn-group btn-group-yesno"
55-
default="1"
56-
>
57-
<option value="1">JYES</option>
58-
<option value="0">JNO</option>
59-
</field>
6061
<field
6162
showon="type!:hidden"
6263
name="required"

0 commit comments

Comments
 (0)