# Input.Email
Cardscript
Lets a user enter an email.
# Example
{
"type": "AdaptiveCard",
"body": [
{
"id": "email",
"type": "Input.Email",
"placeholder": "Input.Email",
"spacing": "medium"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0"
}
# Required properties
# id
Unique identifier for the value. Used to identify collected input when the Submit action is performed.
- Type:
string
# type
Must be "Input.Email"
.
- Type:
string
- Values:
Input.Email
# Optional properties
# icon
Name of an icon to prefix email input with.
- Type:
string
# spacing
Controls the amount of spacing between this element and the preceding element.
- Type:
string
- Values:
none
small
default
medium
large
extraLarge
padding
# separator
When true
, draw a separating line at the top of the element.
- Type:
boolean
# title
Strong text to clearly identify the intent of the element.
- Type:
string
# JSON Schema
{
"additionalProperties": true,
"type": "Input.Email",
"description": "Lets a user enter an email.",
"allOf": [
{
"$ref": "#/definitions/CardElement"
},
{
"$ref": "#/definitions/CardscriptField"
}
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the value. Used to identify collected input when the Submit action is performed."
},
"type": {
"type": "string",
"description": "Must be `\"Input.Email\"`.",
"enum": [
"Input.Email"
]
},
"icon": {
"type": "string",
"description": "Name of an icon to prefix email input with."
}
},
"required": [
"type",
"id"
],
"typeSafe": "input-email",
"example": "FIXME!",
"propertySummary": [
{
"name": "id",
"type": "string",
"required": "Required",
"text": "Unique identifier for the value. Used to identify collected input when the Submit action is performed."
},
{
"name": "type",
"type": "string",
"required": "Required",
"text": "Must be `\"Input.Email\"`."
},
{
"name": "icon",
"type": "string",
"required": "Optional",
"text": "Name of an icon to prefix email input with."
}
]
}