add handling for normal text fields