get field func.