ItemPublisher:Item.[ItemFieldSystemName].Options.IsSelected

Version: -  

Summary

Returns the value of the option being selected or not (True or False)

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetObject("ItemPublisher:Item.[ItemFieldSystemName].Options.IsSelected")

Check if tag has a value

@if(!var.IsNullOrWhiteSpace(GetObject("ItemPublisher:Item.[ItemFieldSystemName].Options.IsSelected"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ var storedTag = GetObject("ItemPublisher:Item.[ItemFieldSystemName].Options.IsSelected"); }

Outputting the template tag

<!--@ItemPublisher:Item.[ItemFieldSystemName].Options.IsSelected-->

Check if object has a value

<!--@If Defined(@ItemPublisher:Item.[ItemFieldSystemName].Options.IsSelected)--> Let's output this tag here: <strong><!--@ItemPublisher:Item.[ItemFieldSystemName].Options.IsSelected--></strong> <!--@EndIf(@ItemPublisher:Item.[ItemFieldSystemName].Options.IsSelected)-->