added form value length tracking method