The field tag name that is passed to the C function pf_nxfield() is the name of a display-only field. Because the user is not allowed to enter data in a display-only field, the cursor cannot be located in one. Check the tag name that is supplied; if it is the one that you intended, review the attributes of that field, and find out why it has been set display-only.