I want to add custom fields to the user (login) form.

I know my way around Drupal FAPI but are only beginning to familiarize myself with CiviCRM code.
Can you pls point me to code examples, documentation or functions I can use to realize this.

May thanks.

Comments

EvanDonovan’s picture

Title: Adding custom fields » Adding custom CiviCRM fields to Drupal user registration
Status: Active » Fixed

This support request is out of scope for this module. The CiviCRM documentation at http://en.flossmanuals.net/CiviCRM/CapturingExposing explains how to create a Profile with Custom Data Fields and make them available on Drupal user registration. See the Including profiles in Drupal's User Registration screen section.

You will not be able to use FAPI hooks to modify this part of the form though. You would have to use a Smarty template in CiviCRM. For help on that, ask in the CiviCRM forums or on IRC channel #civicrm.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.