[luci] CBI: Validate a field based on the value of another field?

Jo-Philipp Wich xm at subsignal.org
Thu Jul 31 14:02:54 CEST 2014


Hi,

> function rtp_last.validate(self,value)

The third argument to that function should be the section id:

function rtp_last.validate(self, value, sid)


~ Jow

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20140731/e4767280/attachment.pgp>


More information about the luci mailing list