[support] Input field based on user field data?
    Joel Willers 
    joel.willers at sigler.com
       
    Fri Oct 28 20:50:01 UTC 2011
    
    
  
Couldn't you do some sort of Content Profile and Node Reference link? Could have a Content Type Color and then link to it as a selection. If you need more controls, you can add them as needed, like Node Reference Create, etc.
Joel 
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Wipe_Out
Sent: Friday, October 28, 2011 12:18 PM
To: support at drupal.org
Subject: Re: [support] Input field based on user field data?
On 28 October 2011 16:51, Ted <ted-drupalists at webfirst.com> wrote:
Simple approach: You could use PHP to retrieve the allowed values from the current user's profile. Place that PHP code in the allowed values field of the content type.
If the user changes her favorite colors and then edits an existing node, it may cause loss of data (if that node had a color that was removed from their favorites, and hence is no longer a valid selection). You'll have to decide what to do in that and similar corner cases.
Ted
Thanks Ted..
Let me look into that and see what I find..
 
    
    
More information about the support
mailing list