Form.Field.[FieldSystemName].Image

Version: - string  

Summary

Returns the path of the Image-property (when using Image-controls in your form)

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Form.Field.[FieldSystemName].Image")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Form.Field.[FieldSystemName].Image"); }

Outputting the template tag

<!--@Form.Field.[FieldSystemName].Image-->

Check if string has a value

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