Documentation > CMS Template API Library > Input > ShowSelectColor(String,String,String,String,String,Boolean)
ShowSelectColor
Shows a color selector control.
public System.Void ShowSelectColor(String,String,String,String,String,Boolean)
Parameters
Name | Description | Type |
---|---|---|
label | The name. | System.String |
fieldname | The fieldname. | System.String |
defaultColor | Optional: Default color (defaults to CCCCCC) | System.String |
helpMessage | Optional: help message | System.String |
popupMessage | Optional: The popup help message. | System.String |
alwaysSend | Optional: If true, the value of the field will always be sent from the frontend to the backend regardless of whether its state has changed. | System.Boolean |
Code Example
C#
Sample:
<% Input.ShowSelectColor("My Color", "my_color"); %>