Hi there,

When adding more fields to the registration form the T&C field stays right under the email field. (See pic)

I'd like to see the T&C field at the bottom just before the submit button.

Is there a way to control the weight of thi field?

Or any other suggestions?

I use Content Profile (http://drupal.org/project/content_profile)

CommentFileSizeAuthor
#3 weight-option-445268-2.patch2.63 KBAnonymous (not verified)
t&c in the middle.jpg67.14 KBmanoloka
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kaay’s picture

I having exactly the same problem infact my captcha is also appearing between form fields. let me know if you find something.

Kars-T’s picture

Status: Active » Needs work

weight should be available on the settings page.

Anonymous’s picture

Version: 6.x-1.10 » 7.x-1.1
Component: Miscellaneous » Code
Status: Needs work » Needs review
Issue tags: ++patch
FileSize
2.63 KB

I made a patch for this. It is my first on drupal.org.

ruess’s picture

Until this is implemented as a feature, those who need to change the weight can do so manually by editing the code in the "terms_of_use.module" file:

// Adding the fieldset.
  $form['terms_of_use'] = array(
    '#type' => 'fieldset',
    '#title' => $fieldset_name,
    '#weight' => 10,
  );

. . . changing of course the value of "10" to your choice.

Kars-T’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Status: Needs review » Needs work
Issue tags: -+patch

Hi

please reroll the patch agains the latest dev. And make sure you apply to the drupal coding standards like use spaces not tabs and no spaces at line end.

unifiedac’s picture

Thanks ruess, this was exactly what I needed. I set the value to '1' and it places it just above the submit button.

ivnish’s picture

Issue summary: View changes

Needs to reroll the patch against the latest dev

ivnish’s picture

Status: Needs work » Closed (outdated)

Closed due to inactivity. If it is relevant, we will open it again