I've got some progress on this...

see http://www.kixforms.org/forum/viewtopic.php?p=9880#9880