Documentation > CMS Template API Library > Input > AddHiddenField(String,String)
AddHiddenField
Add a hidden input field to the form with the given name and string value
public System.Void AddHiddenField(String,String)
Parameters
Name | Description | Type |
---|---|---|
name | name of the hidden field | System.String |
value | string used to initialize the hidden field | System.String |
Code Example
C#
Sample:
Input.AddHiddenField("field", "string");