D
D
Dmitry2020-12-14 23:38:45
MODX
Dmitry, 2020-12-14 23:38:45

MODX, how to assign id to name in eForm report form?

Greetings to all, I need help, or rather tell me where to dig!))
The input has a name along with id

<input type="radio" name="sidelr[+id+]" value="Левое">
<input type="radio" name="sidelr[+id+]" value="Правое">

Accordingly, in the source code we get, for example:
<input type="radio" name="sidelr1234" value="Левое">
<input type="radio" name="sidelr1234" value="Правое">

In the report template (report) is: [+ sidelr +] The

question is: is it possible somehow in the report form (report) to [+ sidelr +] to attribute [+ id +] so that it passes value (value) correctly?
The essence of the problem: If an order consisting of 2 or more goods arrives at the post office, then 2 values ​​\u200b\u200bare immediately indicated in each product))) - "Left, Right".
I assume that it sends one name to all products at the same time and "Left,Right" comes to the report . When 1 product - everything is ok.
If you have any suggestions, I will be glad))

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question