I am trying to create a custom module that modifies CP fields on the user registration form. I need to reduce the options of one of the CP select fields (a nodereference field).

Typically i would do this using a form_alter; but for some reason, regardless of my module's weight, even though the field is visible in the form_alter the #options are not. Am i missing something here?

Comments

liquidcms’s picture

Title: how to form_alter a field? » how to form_alter a CP field during user register?
liquidcms’s picture

Status: Active » Closed (fixed)

i think issue is not with CP but simply with how to limit select items from a nodereference select field.. so closing for now

liquidcms’s picture