# Inappropriate "(optional)" in invite modal

**URL:** https://meta.discourse.org/t/inappropriate-optional-in-invite-modal/165541
**Category:** UX
**Created:** [September 27, 2020, 3:52pm UTC](https://meta.discourse.org/t/inappropriate-optional-in-invite-modal/165541 "2020-09-27T15:52:32Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [September 27, 2020, 3:52pm UTC](https://meta.discourse.org/t/inappropriate-optional-in-invite-modal/165541/1 "2020-09-27T15:52:32Z")

</div>

This is a minor UX bug.

In an invite, the “Set Password” currently has a hint after it which reads:

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/f/dff1702a6b7d66d35c592cb818044d95bf753c6d.png)

This is confusing, as while the length is ‘optional’, the field is mandatory.  
It is governed by `js.invites.optional_description`.

In contrast, the signup modal omits ‘optional’:

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

I think that we should make these consistent, with the same title (i.e. ‘Password’), the same text box size (is too short in the invites), and the same text ('i.e. ‘at least x characters’) - without the ‘optional’.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [September 28, 2020, 4:21am UTC](https://meta.discourse.org/t/inappropriate-optional-in-invite-modal/165541/2 "2020-09-28T04:21:17Z")

</div>

Wait so this happens when you accept the invite?

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [September 28, 2020, 6:52am UTC](https://meta.discourse.org/t/inappropriate-optional-in-invite-modal/165541/3 "2020-09-28T06:52:33Z")

</div>

Yes - when a user clicks on a multi-use link. Haven’t tested it on a ‘normal’ invite.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [September 28, 2020, 3:18pm UTC](https://meta.discourse.org/t/inappropriate-optional-in-invite-modal/165541/6 "2020-09-28T15:18:12Z")

</div>

> [@nathank](#):
>
> This is confusing, as while the length is ‘optional’, the field is mandatory.

The “Password” field is optional on “accept invites” page and that is why we mention “optional” in field description.

> [@nathank](#):
>
> the same title (i.e. ‘Password’)

This is a good suggestion. Done via:

> <https://github.com/discourse/discourse/commit/4fcb307f848bf4a44e272e5dfe89a3d98e721a81>

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [September 29, 2020, 5:35am UTC](https://meta.discourse.org/t/inappropriate-optional-in-invite-modal/165541/7 "2020-09-29T05:35:29Z")

</div>

> [@nathank\_01ershaw](#):
>
> the same text box size (is too short in the invites)

This has been [fixed](https://github.com/discourse/discourse/commit/91ac70a32d2af13c3c061e8e6aa683bcb709378f) as well.

Thanks for the suggestions @nathank. 👍

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [September 29, 2020, 5:35am UTC](https://meta.discourse.org/t/inappropriate-optional-in-invite-modal/165541/8 "2020-09-29T05:35:32Z")

</div>


