Project:Terms of Use
Version:7.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Issue tags:+patch

Issue Summary

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)

AttachmentSize
t&c in the middle.jpg67.14 KB

Comments

#1

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

#2

Status:active» needs work

weight should be available on the settings page.

#3

Version:6.x-1.10» 7.x-1.1
Component:Miscellaneous» Code
Status:needs work» needs review

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

AttachmentSize
weight-option-445268-2.patch 2.63 KB

#4

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.

nobody click here