Are you finding that your Zoho CRM web forms don't do anything? I've learned the hard way that it's generally because the form URL has not been set correctly. It seems like a throw-away setting, but it actually won't work unless you configure the form URL to be exactly where the form is on your website. Use this link to access the web form page, then click on the form name and finally click on "Next Step" to show this dialog.
Recently I was working on a custom function for Zoho CRM which required me to get the current time in a specified timezone. I assumed that zoho.currenttime would give me the time based on the timezone chosen in the organisation settings but discovered that it always gives it to you in PST. The Zoho Partner team gave me this snippet to solve the problem: current_time_in_timezone = zoho.currenttime.toString("yyyy-MM-dd'T'HH:mm:ss", "Australia/Sydney").toTime("yyyy-MM-dd'T'HH:mm:ss"); If you need the current date, do: current_date_in_timezone = zoho.currenttime.toString("yyyy-MM-dd'T'HH:mm:ss", timezone).toDate(); To figure out what you can put in for the timezone part, refer to https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
Comments
Post a Comment