[luci] Setting form values based on selected option in combo box

Deric Panet-Raymond dpraymond at satcomdirect.com
Tue Oct 28 21:19:07 CET 2014


I have a need to override two form values when a user selects any of a specific subset of combobox options, I tried implementing this in the validate function for the combo box but this seems to set the values in the form, but these aren’t written to the UCI file unless you hit save and apply twice.

Any help would be greatly appreciated.

Thanks.

Deric.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20141028/2aec379a/attachment.html>


More information about the luci mailing list