Closed (fixed)
Project:
Content Profile
Version:
6.x-1.0-beta4
Component:
User registration module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2010 at 01:57 UTC
Updated:
30 Jun 2010 at 02:40 UTC
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
Comment #1
liquidcms commentedComment #2
liquidcms commentedi think issue is not with CP but simply with how to limit select items from a nodereference select field.. so closing for now
Comment #3
liquidcms commentedand answer was: http://zugec.com/snippets/61-change-select-options-within-a-nodereference