also, in addition to my previous reply.
you are little unclear with the variables you are talking about.
every now and then there seems to be writing about form variables.

so, if these variables are kixtart ones, then they basically have nothing to do with kixforms.

what comes to destroying a form, like really really, it needs to be disposed from the kixtart.system if that is used and every reference to it has to be invalidated, like for example what you did with setting the value of the var to 0.
_________________________
!

download KiXnet