<p>Custom fields are attached to Users, not User Groups.</p>

<p>Seems like you'd be able to do what you want on the template side, though.  i.e. something like "if user is in group A, show field B, otherwise hide it".</p>

<p>Or perhaps something like the <a href="https://github.com/mmikkel/Reasons-Craft" rel="nofollow noreferrer">Reasons plugin</a> is the way to go, which adds conditionals to fields/field layouts.</p>

CC BY-SA 3.0
2017-05-03T11:17:21.283Z
Thanks Brad. Its not a front end issue as such since i want to create admins and not have to fill out the user fields for the admins. If i switch front end registration to javascript only validation of form then I could get around it - but i am committed to server side validation now ;)
joomkit
CC BY-SA 3.0
2017-05-03T19:23:17.787Z
Ahh... sounds like it's time for a custom plugin, then. :)
Brad Bell
CC BY-SA 3.0
2017-05-03T19:34:44.873Z
Getting my plugin stripes just now...but how would you go about limiting user profiles to non admin groups?
WHat hook am I after?
joomkit
CC BY-SA 3.0
2017-05-02T21:13:11.887Z
2017-05-02T21:13:11.887Z
Brad Bell
<p>Can profile fields be limited to user groups in backend? It seems that if you want required front end fields for users registering then admins in backend have to have these as compulsory when creating admin accounts.</p>

<control-panel><user-profile><permissions>
limiting profiles to user groups
# limiting profiles to user groups

(Asked by: username_0 on 2017-05-02)

Can profile fields be limited to user groups in backend? It seems that if you want required front end fields for users registering then admins in backend have to have these as compulsory when creating admin accounts.

**Tags:** control-panel, user-profile, permissions


---

## 1 answers

### Answer by username_1 on 2017-05-02. Score: 1

Custom fields are attached to Users, not User Groups.

Seems like you'd be able to do what you want on the template side, though. i.e. something like "if user is in group A, show field B, otherwise hide it".

Or perhaps something like the [Reasons plugin](https://github.com/mmikkel/Reasons-Craft) is the way to go, which adds conditionals to fields/field layouts.

> **Comments:**
> **username_0**: Thanks Brad. Its not a front end issue as such since i want to create admins and not have to fill out the user fields for the admins. If i switch front end registration to javascript only validation of form then I could get around it - but i am committed to server side validation now ;)  
> **username_1**: Ahh... sounds like it's time for a custom plugin, then. :)  
> **username_0**: Getting my plugin stripes just now...but how would you go about limiting user profiles to non admin groups? WHat hook am I after?  

---

