URL

This card helps to get the URL in a placeholder.

AttributesMandatoryDescriptionValues
typeYesThe type of input to be displayed to the visitorurl
placeholderYesDefault text that is displayed before the input is given

 

{

"placeholder": "Enter the URL"

}

valueNoThe value to be pre-filled in the input

{

"value": "www.zylker.com"

}

errorNoThe 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"channelData": {
  "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"]
    }
  }
}