AnsweredAssumed Answered

How can I render a Sugar datetimecombo field anywhere with Sidecar?

Question asked by Artis Plocins on Jun 19, 2017
Latest reply on Jun 30, 2017 by Artis Plocins

I have a custom block on the page and I want to use the Sugar datetimecombo field there for date and time selection like this:

How can I render a field like that somewhere else in my customisation javascript files?


I also need to be able to set the value of the datetimecombo field, but I could not figure out what kind of a format it uses and it would require a lot of code just to create a format like "2017-06-19T16:00:00+01:00" in plain javascript.

What format is that exactly? How can use Sidecar to format date and time like that?