added "taint" callback to mark input fields erroneous