Sales IQ add custom field

Sales IQ add custom field

I am having trouble getting my Sales IQ customfield.add() working. I cannot submit the form. I believe the issue lies in the zoho desk field not linking up. I want offline viewers to select a dropdown menu, then have that submission create a ticket.

  1. $zoho.salesiq.ready = function ()

            {

                $zoho.salesiq.customfield.add({


                    "name": "Contact Reason",
                    "hint": "Reason for Contact",
                    "type": "selectbox",
                    "required": "true",
                    "visibility": "offline",
                    "options": [{


                            "text": "I have a question",
                            "value": "I have a question about a product before I buy"
                        },


                        {


                            "text": "My product is not working",
                            "value": "My product is not working / I need technical support"
                        },


                        {


                            "text": "Returns & Exchanges",
                            "value": "I want to return or exchange my product"
                        },

                        {

                            "text": "Cancel an order",
                            "value": "I want to cancel or change my order"
                        },

                        {

                            "text": "Shipping status",
                            "value": "What is the shipping status of my order"
                        },

                        {
                            "text": "Website Issues",
                            "value": "Your website is not working properly"
                        },

                        {
                            "text": "General feedback",
                            "value": "I have some feedback for you business"

                        }
                    ],
                    "callback": function(value) { }

                });

            }