Hi;

I have a template with several textareas which I need to populate wit non-uci data. I see how to get the values from controller code from this tutorial: http://www.martin.cc/OpenWrt/luci (Using a template to create custom fields)

example (from above link):

local hour = self.map:formvalue(self:cbid(section) .. "hour")

will get the formvalue from the template. I need to do the converse: set the formvalue from controller code, something like:

self.map:formvalue(self:cbid(section) .. ".hour") = value

Is this possible? What is the syntax?

Thanks;
Bill