How to make default values for user reference Field in Drupal7

216 views
asked Sep 28, 2012 in Website Builder by DruNew (1,930 points)
Hi there,

I want to create a default value for user reference field. I want users to fill in details for themselves and I want the details to be referenced. I am not sure how to approach this. Can anyone please help me out with any ideas on how to do this?
Many thanks.

1 Answer

0 like 0 dislike
answered Sep 28, 2012 by RalphK (5,800 points)
Try the following:
1.Enable PHP filter code module
2.From admin go to people-permissions
3.Enable 'Use PHP for settings' for your roles that you trust
4.select Filtered text  from the field settings and chose PHP code as the Default value input
You should also install CCK module.
...