Trigger onchange for affected input fields