I am using Drupal 7, and trying to make a custom register form to fit my needs.
I am also using a contrib module named "Auto Assign Role" to let the user choose his role.
Now heres the issue, the fields are appearing on the form but the order is messed up.
I have 5 fields on the form total:
- First Name
- Last Name
- Role
- Username
- Password
The first i added via the manage fields section of Account area, the role field is added by the contrib module, and the other two field are built-in, I guess..
Above is the order i seek, but its not doing that even though i think it should. I ordered the field like that in the manage display screen, yet it still doesn't do what i want it to.
The order i get is:
- First Name
- Role
- Last Name
- Username
- Password
If i set the weight of the above two fields (first & last names) to 0 instead of dragging and dropping to order in the manage display screen i get the following order:
- Last Name
- First Name
- Role
- Username
- Password
This is almost what i want, but i want first name to be above last name.
Is there some way i can accomplish this?
Thanks!
-1
to First Name and0
to Last Name. It should work.