[[+content_image]]
M
M
Makfroy2020-02-13 07:35:16
MODX
Makfroy, 2020-02-13 07:35:16

How to convert and output a field from one format to another?

Hello, I have an additional "accessible" field with the checkbox type, the "possible values" field is set to yes==1.

I render in the template like this:



It looks like "Available environment: 1". Is it possible to output in text format so that it does not output 1, but YES?

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