implement input field weight toggling