# Ensure username entry starts with "@"

**URL:** <https://forum.adalo.com/t/ensure-username-entry-starts-with/9753>\
**Category:** Get Help\
**Created:** [February 28, 2021, 5:28am UTC](https://forum.adalo.com/t/ensure-username-entry-starts-with/9753 "2021-02-28T05:28:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikhaeel](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@Mikhaeel](https://forum.adalo.com/u/Mikhaeel)\
**Post date:** [February 28, 2021, 5:28am UTC](https://forum.adalo.com/t/ensure-username-entry-starts-with/9753/1 "2021-02-28T05:28:48Z")

</div>

My signup includes a username field and I’d like to ensure that usernames are entered with an @ at the beginning (for example @james). I want to display an error text if the user enters a username with no @. Obviously I should create a text with the error message and apply conditional visibility so that it appears when there’s no @ in username field. But there’s no option for “does not contain”. So how do I do this? Am I missing something?

Thank you!

---

<div class="post-metadata">

**Author:** ![James\_App\_Maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/james_app_maker/32/37288_2.png) [@James\_App\_Maker](https://forum.adalo.com/u/James_App_Maker)\
**Post date:** [February 28, 2021, 6:21am UTC](https://forum.adalo.com/t/ensure-username-entry-starts-with/9753/2 "2021-02-28T06:21:44Z")

</div>

What I would do is that once the user signs up, for the sign up button update the logged-in user then include the @FullName.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/f/f1ebe2580015c03ba17034c208199b4ea93a6057.png)

---

<div class="post-metadata">

**Author:** ![Mikhaeel](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@Mikhaeel](https://forum.adalo.com/u/Mikhaeel)\
**Post date:** [February 28, 2021, 8:27am UTC](https://forum.adalo.com/t/ensure-username-entry-starts-with/9753/3 "2021-02-28T08:27:07Z")

</div>

Hey @James_App_Maker,

I appreciate the tip, but it’s not the solution I’m looking for. I’d like users to be able to set their own username.

Thanks!

---

<div class="post-metadata">

**Author:** ![Erik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/erik/32/7849_2.png) [@Erik](https://forum.adalo.com/u/Erik)\
**Post date:** [February 28, 2021, 9:16am UTC](https://forum.adalo.com/t/ensure-username-entry-starts-with/9753/4 "2021-02-28T09:16:56Z")

</div>

Hi Mikaeel,

You can do the same thing for the username. Update the logged in user’s username by appending ‘@’ before it.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/2/24bec61bf1d2ad2eeabaeccef36597784aba818d.png)

---

<div class="post-metadata">

**Author:** ![Mikhaeel](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@Mikhaeel](https://forum.adalo.com/u/Mikhaeel)\
**Post date:** [February 28, 2021, 10:13am UTC](https://forum.adalo.com/t/ensure-username-entry-starts-with/9753/5 "2021-02-28T10:13:39Z")

</div>

Hi @Erik,

Thanks for your suggestion. The problem that I have is that some users will include the ‘@’ when entering their username and others won’t. So your solution will sometimes lead to a double ‘@’ at the beginning of some usernames.

Take care!

---

<div class="post-metadata">

**Author:** ![Erik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/erik/32/7849_2.png) [@Erik](https://forum.adalo.com/u/Erik)\
**Post date:** [February 28, 2021, 11:10am UTC](https://forum.adalo.com/t/ensure-username-entry-starts-with/9753/6 "2021-02-28T11:10:23Z")

</div>

Give the user UX prompts to promote the action you’re trying to achieve. Like below. When the user enters their username, the field underneath it will display how the field will show when completed (with the @ in front)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/7/7e748bd944b99b2c0fde693dfa1779ab251ebd41.png)

---

<div class="post-metadata">

**Author:** ![Mikhaeel](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@Mikhaeel](https://forum.adalo.com/u/Mikhaeel)\
**Post date:** [February 28, 2021, 1:29pm UTC](https://forum.adalo.com/t/ensure-username-entry-starts-with/9753/7 "2021-02-28T13:29:21Z")

</div>

I like that idea. I think I’m going to do that. Much appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [March 10, 2021, 1:29pm UTC](https://forum.adalo.com/t/ensure-username-entry-starts-with/9753/8 "2021-03-10T13:29:33Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
