Closed (fixed)
Project:
Drupal core
Version:
6.8
Component:
profile.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2009 at 21:45 UTC
Updated:
23 Jul 2011 at 17:50 UTC
Can we have an easy way to limit the length of the profile single line field.
More specifically, I would like to require users at registration to give their first name and ONLY their LAST INITIAL!
Comments
Comment #1
dawehneryou can achive this using a custom hook_form_alter to the user_register_form
search for hook_form_alter and you will find a lot of descriptions how to use it.
Comment #2
mdupont