N
N
Nikolai2019-07-01 18:36:04
MODX
Nikolai, 2019-07-01 18:36:04

Displaying and filtering tv fields?

There is a parent in it list of resources. Each resource has an additional field with the "List of resources" output type. Now displays the id of the resource.
1. How can I make output id and value?
2. How can I disable the output of the tv field if it is not filled?
Now I did it like this:

 

<label class="btn btn-outline-primary">
  <input type="radio" name="shuffle-filter" value=""/>
</label>

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