toggle tr field according to wt field