Is it even posible to move the fields around on the registration field?

I want to move the content_profile fields around and blend with user registration fields and logintobogan fields. Look at the dvr($form) but the content_profile form seems to be placed in $form['#field_info'] and i cant seem to move the fields themself around with a foreach..

Comments

Michsk’s picture

Make it look like this

Username        Content_profile_cck_field
E-mailadres      Confirm_email_adres(logintobogan)
Michsk’s picture

Status: Active » Fixed

Damn that was actually quite easy, dont know why i didnt get it before. Maybe not enough coffee?

For those needing this, in your custom module add

	$form['account']['group_prive_gegevens'] = $form['group_prive_gegevens'];
	unset( $form['group_prive_gegevens'] );

And then you can do what ever you want with that alter the #weight etc etc.

Status: Fixed » Closed (fixed)

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