Form.Button.Reset
Version: - stringSummary
Returns a reset button for the form.
<input type="reset" value="Reset" />
Settings
The value is based on the Display 'Reset' button in the paragraph settings of the module.
(Paragraph > Module settings > Form settings panel > Display 'Reset' button)
Examples
Outputting the template tag
@GetString("Form.Button.Reset")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Form.Button.Reset"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Form.Button.Reset");
}
Outputting the template tag
<!--@Form.Button.Reset-->
Check if string has a value
<!--@If Defined(@Form.Button.Reset)-->
Let's output this tag here: <strong><!--@Form.Button.Reset--></strong>
<!--@EndIf(@Form.Button.Reset)-->