custom hidden field in details form populated on JSON load

Hi All,

Is it possible to create a hidden field on the details form that is populated using the JSON load method? I’d like to have something like:

that is set on the JSON load, and I can then check the value of ‘eventid’ in the “onBeforeLightbox” event. If this is possible, what steps would I need to take to implement this functionality?

Thanks

Hello,

You don’t actually need that hidden input. Event objects do store everything that was parsed from them during load. So if in JSON you have ‘hidden_value’: 5 then you can access it as

var ev = scheduler.getEvent(event_id); ev.hidden_value // same goes for other properties
Kind regards,
Ilya