By calso000 on
Looking for help on creating a simple module like Field_group.
Would have the ability to create field-sets to cover the different "User module account form elements" that are found at admin/config/people/accounts/fields .
So there could be a separate field-set to go around the "E-mail" field ONLY (and not cover the "Username," "Password," "Activate/Block user" and "Assign roles.")
>>>So if a user tries to edit their profile later or also during registration they already have a collapsed field-set covering the Email address.
Module would be open for contributing back to the community. Thanks.
****Found another solution. Thank you***** 8/6/2013
Comments
So the only feature that is missed is conditional collapsing?
Hello Chris,
Sorry, I failed to understand, why Field Group does not fit your needs.
Could you be more specific, what's "wrong" with it?
AFAIK, Field Group allows to create any type of fieldsets that include any field you need. So you could create a field group which includes only "E-mail" and not covers "Username," "Password," "Activate/Block user" and "Assign roles" - right? So the only feature that is missed is conditional collapsing, isn't it?
Regards,
Dmitry Danilson (aka PatchRanger).
Hi,Thanks for responding!
Hi,
Thanks for responding! Field Group works great and I am looking for that type of field set capability. However, the way that drupal seems to be set up is that they include "Username" "Password" "Email" "Blocked/Active Status" "Roles" all into 1 element called "User module account form elements."
So if you go to Configuration>Account Settings>Manage Fields --- and then try to place a field set somewhere, it does not have those fields separated out. You can put a field set over "User module account form elements" and that will cover all those elements listed above.
Unless I am missing something or there is another way to separate those fields out....
Thanks again!
PS. I think the collapsing part that the field group has seems to be okay. Thanks!
The issue you need
Thanks for clarifying, now I got it.
You should follow this issue: #1176568: Split up and change "User name and password" field.