FilepublishUploadConfirm

Version: - string  

Summary

Returns an URL to the page to show after submission.

Settings

The value is based on the Page after submission input field in the Upload section for the paragraph module.

(Page > Paragraph > Module tab > Upload panel > Page after submission)

Remarks

An input field with the name Confirm must be defined in the form if the user should be redirected to another page after submission.

Examples

Outputting the template tag

@GetString("FilepublishUploadConfirm")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@FilepublishUploadConfirm-->

Check if string has a value

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