P
P
P0tapych2017-11-16 22:29:19
MODX
P0tapych, 2017-11-16 22:29:19

How to make tv to tv in modx revo?

I need to enter various resources with additional parameters into tv for the page.
I'm making a List with multiple choice and separator. As a result, it turns out to select documents from a certain section and the output is: Document1|Document2.
But how can I make it so that I can add an additional parameter to each resource. Well, for example, I chose Document1 and entered 2, I selected Document2 and entered 4. And the conclusion went, for example, Document1 = 1| Document2 = 4
In general, in a multiple choice, I can only select resources, but how can I make it so that each choice can also be given a numeric value? Tell me please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2017-11-19
@BiOpSIhoS

Do you need to get the IDs of these documents?
Then the type of tv is "multiple choice", and the possible value is the following code:
Don't forget to change the call parameters to your own.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question