URL
This card helps to get the URL in a placeholder.
Attributes | Mandatory | Description | Values |
type | Yes | The type of input to be displayed to the visitor | url |
placeholder | Yes | Default text that is displayed before the input is given
| { "placeholder": "Enter the URL" } |
value | No | The value to be pre-filled in the input | { "value": "www.zylker.com" } |
error | No | The error message that is displayed when invalid input is given | { error: {"Please enter a valid URL"} } |
Channel compatibility and limitations
The bot will collect all general details such as name, email address, phone number, and other information similar to website
Output
Sample code
Copied"user_defined": {
"zohosalesiq": {
"replies": ["Awesome. Let’s get you started right away. Let me get a few details first.."],
"input" :
{
"type":"url",
"placeholder" : "Enter the website URL",
"value" : "www.zylker.com",
"error" : ["Enter a valid URL"]
}
}
}