Slash command

Slash command

Hello, 

I created a form in Zohocliq.

Here is the code:
{
"type": "form",
"title": "FHG Orders",
"name": "FHG-Orders",
"hint": "This form takes input from telesales for each order to be sent to DAs",
"button_label": "Submit",
"inputs": [
{
"name": "date",
"label": "Order Date:",
"placeholder": "Select order date!",
"mandatory": true,
"type": "datetime"
},
{
"name": "text",
"label": "Customer's Fullname",
"placeholder": "Enter Customer's Fullname",
"min_length": "0",
"max_length": "25",
"mandatory": true,
"type": "text"
},
{
"name": "phone-1",
"label": " CUS Phone Number 1",
"placeholder": "Enter customer's mobile number here!",
"min_length": "0",
"max_length": "25",
"mandatory": true,
"type": "text",
"format": "tel"
},
{
"name": "phone-2",
"label": "CUS Phone Number 2",
"placeholder": "Enter customer's 2nd mobile number here!",
"min_length": "0",
"max_length": "25",
"mandatory": false,
"type": "text",
"format": "tel"
},
{
"name": "textarea",
"label": "CUS Full Address:",
"placeholder": "Write a detailed address for the customer... ",
"min_length": "0",
"max_length": "25",
"mandatory": true,
"type": "textarea"
},
{
"name": "radio",
"label": "What Did the Customer Order?",
"mandatory": true,
"type": "radio",
"options": [
{
"value": "1 shampoo 1 pomade 1 conditioner - ₦27,450",
"label": "1 shampoo 1 pomade 1 conditioner - ₦27,450"
},
{
"value": "3 shampoo 3 pomade - ₦42,740",
"label": "3 shampoo 3 pomade - ₦42,740"
},
{
"value": "3shampoo3pomade3conditioner-54750",
"label": "3 shampoo 3 pomade 3 conditioner - ₦54,750"
},
{
"value": "3 Pomade - ₦27,450",
"label": "3 Pomade - ₦27,450"
}
]
},
{
"name": "radio-1",
"label": "Who Paid for This Order?",
"mandatory": true,
"type": "radio",
"options": [
{
"value": "CUS",
"label": "Customer (CUS)"
},
{
"value": "DA",
"label": "Delivery Agent (DA) Is to Remit"
}
]
},
{
"name": "file",
"label": "Proof of Payment",
"placeholder": "Upload Proof of Payment",
"hint": "Upload only if CUS paid BEFORE delivery",
"mandatory": false,
"type": "file"
},
{
"name": "radio-2",
"label": "Is this Customer To Be Given Gift?",
"mandatory": true,
"type": "radio",
"options": [
{
"value": "Yes",
"label": "Yes"
},
{
"value": "No",
"label": "No"
}
]
},
{
"name": "radio-3",
"label": "What Gift Is to Be Given?",
"hint": "Only customers who paid online DIRECTLY to the company BEFORE delivery are to be given gift!!!",
"mandatory": false,
"type": "radio",
"options": [
{
"value": "None",
"label": "None"
},
{
"value": "Hair Bonnet & Sample Shampoo",
"label": "Hair Bonnet & Sample Shampoo"
}
]
},
{
"name": "date-1",
"label": "Expected Date for Delivery",
"placeholder": "Select Expected Date for Delivery",
"mandatory": true,
"type": "datetime"
}
],
"action": {
"type": "invoke.function",
"name": "function"
}
}

I pasted the code in command but I keep getting this error:
Error
(Line No - 1)Syntax error. Expecting '}' or statement. Found '{'.

I am NOT sure what else to do. Kindly help.
Screenshot attached

    • Sticky Posts

    • Automating Employee Birthday Notifications in Zoho Cliq

      Have you ever missed a birthday and felt like the office Grinch? Fear not, the Cliq Developer Platform has got your back! With Zoho Cliq's Schedulers, you can be the office party-cipant who never forgets a single cake, balloon, or awkward rendition of
    • Accelerate Github code reviews with Zoho Cliq Platform's link handlers

      Code reviews are critical, and they can get buried in conversations or lost when using multiple tools. With the Cliq Platform's link handlers, let's transform shared Github pull request links into interactive, real-time code reviews on channels. Share
    • App Spotlight : PagerDuty for Zoho Cliq

      App Spotlight brings you hand-picked apps to enhance the power of your Zoho apps and tools. Visit the Zoho Marketplace to explore all of our apps, integrations, and extensions. In today's fast-paced world, seizing every moment is essential for operational
    • Automate your status with Cliq Schedulers

      Imagine enjoying your favorite homemade meal during a peaceful lunch break, when suddenly there's a PING! A notification pops up and ruins your moment of zen. Even worse, you might be in a vital product development sprint, only to be derailed by a "quick
    • Bulk user onboarding for Cliq Channels in a jiffy

      As developers, we frequently switch between coding, debugging, and optimizing tasks. The last thing we want is to be burdened by manual user management. Adding users one by one to a channel is tedious and prone to errors, taking up more time than we could