I'm using Login Toboggan to create a "Confirm e-mail address" field on the user registration page. In order to pre-populate this field I changed the Gigya's module weight to "1" (instead of "0") in the system table (so it runs after Login Toboggan), and then added the following code to the gigya.module in the hook_form_alter() around line 691:

	// If Login Toboggan created a new confirmation mail field, prepopulate it as well
	if ($form_account['conf_mail']) {
		$form_account['conf_mail']['#default_value'] = (empty($bio['email']) ? '' : $bio['email']);
	}

Comments

azinck’s picture

Status: Active » Needs review

Thanks -- this is a good idea. I'll incorporate it.

azinck’s picture

Status: Needs review » Fixed

in dev

Status: Fixed » Closed (fixed)

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