Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone knows how to check from a dreamweaver template if a checkbox field is checked or not? Thanks in advance

share|improve this question
you mean checkbox in component Fields? – Saurabh Gangwar Feb 17 '14 at 12:59
up vote 8 down vote accepted

It's only a checkbox when displayed in the CME. Basically it's a field like any other, so you can just check for the actual value.

Something like this should work:

<!-- TemplateBeginIf cond="MyField='MyValue'" -->
<!-- TemplateEndIf -->
share|improve this answer
<!-- TemplateBeginIf cond="Field.Values(1) != ''" -->

<!-- TemplateEndIf -->

above will check if checked

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.