Categories | Question details Back To List | ||
Scheduler.form_blocks When using custom forms, it is not entirely clear for some of the examples. for example. get_value:function(node,ev){ ev.location = node.childNodes[4].value; return node.childNodes[1].value; }, why am I setting ev.location? What is it ev.location? What if I have more than one custom field..what do I set those to? Hmmm not sure. Thanks. Answer posted by Support on Oct 13, 2009 02:00 >>why am I setting ev.location? What is it ev.location? Normally each block must represent one property of event. Sample in documentation show how this limitation can be workarounded. By setting event property directly we can show and edit multiple event properties at once. "location" is just a name of custom property, it has not any special meaning. ( each extra field, added to server side config, will be accessible as event.field_name on client side ) |