Forms.Page

Version: - string  

Summary

Returns the URL to the edit (forms) page.

Settings

The value is based on the selection in the Forms page field in paragraph settings.

(Page - Paragraph - Module - Edit data - Forms page)

Examples

Outputting the template tag

@GetString("Forms.Page")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Forms.Page"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Forms.Page"); }

Outputting the template tag

<!--@Forms.Page-->

Check if string has a value

<!--@If Defined(@Forms.Page)--> Let's output this tag here: <strong><!--@Forms.Page--></strong> <!--@EndIf(@Forms.Page)-->