tickbox weight automation
ive got a document with automated weight fields. So when the net weight gets filled at the bottom it adds it to the top two net weights as shown by the arrows.

what i am trying to do is code so that if the pallete tickbox is ticked it only fills in the left hand net weight with the net weight.
if the box is instead ticked it only fills out the net weight in the right hand net weight. as currently it fills in box left and right hand net weights.
hopefully this makes sense. if not feel free to ask me any questions id be happy to answer them.
