Documentation > CMS Template API Library > Input > AddHiddenField(String,Int32)

AddHiddenField

Add a hidden input field to the form with the given name and int value

public System.Void AddHiddenField(String,Int32)

Parameters

NameDescriptionType
name name of the hidden field System.String
value int used to initialize the hidden field System.Int32

Code Example

C#

Sample:

            
            Input.AddHiddenField("field", 7);
            
            

Connect with Crownpeak