add mapping for textfield