# Custom fields labels have no target attribute on the registration window

**URL:** https://meta.discourse.org/t/custom-fields-labels-have-no-target-attribute-on-the-registration-window/90052
**Category:** UX
**Created:** [6월 17, 2018, 10:39오전 UTC](https://meta.discourse.org/t/custom-fields-labels-have-no-target-attribute-on-the-registration-window/90052 "2018-06-17T10:39:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [6월 17, 2018, 10:39오전 UTC](https://meta.discourse.org/t/custom-fields-labels-have-no-target-attribute-on-the-registration-window/90052/1 "2018-06-17T10:39:08Z")

</div>

Hi.  
On the registration window, when you click any label, it focuses the corresponding field, but this is not the case for custom fields (at least the text one):

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/5/6508ffb8798f7c866100269c89b1f2582a475755.png)

Would be better if they had a target attribute like the other fields.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [6월 17, 2018, 8:33오후 UTC](https://meta.discourse.org/t/custom-fields-labels-have-no-target-attribute-on-the-registration-window/90052/2 "2018-06-17T20:33:19Z")

</div>

Oh yes this is a good thing for us to fix, can you take a look next week @featheredtoast?

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [6월 18, 2018, 6:22오후 UTC](https://meta.discourse.org/t/custom-fields-labels-have-no-target-attribute-on-the-registration-window/90052/4 "2018-06-18T18:22:30Z")

</div>

Custom field inputs and checkboxes will now correctly react when their label is clicked 🍈

[https://github.com/discourse/discourse/commit/7a1cefce78a4554e846fbcff61ba3392d93276b3](https://github.com/discourse/discourse/commit/7a1cefce78a4554e846fbcff61ba3392d93276b3)

I noticed that select-kit doesn’t respond to a label’s `for` attribute yet, so this isn’t happening for custom select fields.

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [6월 20, 2018, 1:00오전 UTC](https://meta.discourse.org/t/custom-fields-labels-have-no-target-attribute-on-the-registration-window/90052/5 "2018-06-20T01:00:01Z")

</div>

This topic was automatically closed after 30 hours. New replies are no longer allowed.
