Item.[FieldSystemName].IsSelected

Version: - string  

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

@GetString("Item.[FieldSystemName].IsSelected")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Item.[FieldSystemName].IsSelected"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Item.[FieldSystemName].IsSelected"); }

Outputting the template tag

<!--@Item.[FieldSystemName].IsSelected-->

Check if string has a value

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