M
M
mcrack252018-12-14 23:31:10
DLE
mcrack25, 2018-12-14 23:31:10

DLE how to make a multipole?

Hello, please tell me how to make it so that, for example, there is one additional field and next to it, for example, a plus sign, when clicked, a second such additional field appears, in WP this is usually called repeatable fields, in general, repeatable fields, is it possible to do the same and in DLE?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Vladimirovich, 2018-12-15
@spamboo

there is no way to check the field for emptiness and if it is not empty, display it. Based on this, you can dance and do what you need right out of the box. if you do what you want as vp, then you will have to shovel the entire engine and all installed modules , i.e. [
xfgiven_one
] // check for the presence of
[xfvalue_one] // if there is an output field 1
[xfgiven_two][xfvalue_two] [/xfgiven_two] // check and display additional field 2 if there is some
text here if there is 1st field
[xfgiven_two] here some text if there is its field 2 [/xfgiven_two]
[/xfgiven_one] // close the block with checking and displaying information if there is 1 field

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question