A
A
Alexey Budaev2015-11-07 13:04:25
PHP
Alexey Budaev, 2015-11-07 13:04:25

How to implement linked lists in Modx Revolution?

Good afternoon everyone!
Please tell me how to implement the following task on Frontend in Modx Revolution: There is a large MIGX table of additional fields in the admin panel. In the table, each row has different parameters. On the site itself, I would like to make a simple form from a select and several inputs, but at the same time, when the user selects a value in the first select, additional fields that are in the same row in the MIGX table would be automatically added to adjacent inputs based on the user's choice.
Is there a ready-made solution for implementing such an idea? And if not, tell me, please, where to dig and what to read.
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Grigory Vasilkov, 2015-11-23
@Markus_Kane

Just do it all in javascript and don't get bogged down.
If you want to have fields - output an array encoded in JSON from PHP, pick up jquery and work already on javascript.
Give any interactive to Javascript - you will spend less nerves! Amen
Write - [email protected]

R
Ruslan, 2015-11-07
@ruslan_aleev

Hello, maybe you should look in the direction of MODX modifiers, with the help of them you can write a condition in MIGX templates.
More about modifiers - modx.ws/blog/blog-o-modx-revolution/filtry-vvoda-v...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question