DWPasswordAction

Version: - string  

Summary

Returns the URL for the page that handles password form submission.

Settings

The value is generated automatically based on the current page.

Remarks

The URL can be assigned to the <form> action attribute for the Login prompt.

Examples

Outputting the template tag

@GetString("DWPasswordAction")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("DWPasswordAction"); }

Outputting the template tag

<!--@DWPasswordAction-->

Check if string has a value

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