# How to type and prevent SPACEBAR?

**URL:** <https://forum.bubble.io/t/how-to-type-and-prevent-spacebar/166806>\
**Category:** Need help\
**Created:** [August 28, 2021, 11:05pm UTC](https://forum.bubble.io/t/how-to-type-and-prevent-spacebar/166806 "2021-08-28T23:05:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aldevelops](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aldevelops/32/148299_2.png) [@aldevelops](https://forum.bubble.io/u/aldevelops)\
**Post date:** [August 28, 2021, 11:05pm UTC](https://forum.bubble.io/t/how-to-type-and-prevent-spacebar/166806/1 "2021-08-28T23:05:12Z")

</div>

Hi there,

Now i am using find&replace action to avoid (spacebars etc).  
The question is how to prevent or replace while typing not just by entries.

---

<div class="post-metadata">

**Author:** ![mani2726](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@mani2726](https://forum.bubble.io/u/mani2726)\
**Post date:** [August 29, 2021, 1:54am UTC](https://forum.bubble.io/t/how-to-type-and-prevent-spacebar/166806/2 "2021-08-29T01:54:49Z")

</div>

Use custom states to replace space and append to your search inbox

---

<div class="post-metadata">

**Author:** ![ada](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@ada](https://forum.bubble.io/u/ada)\
**Post date:** [August 30, 2021, 7:45am UTC](https://forum.bubble.io/t/how-to-type-and-prevent-spacebar/166806/3 "2021-08-30T07:45:39Z")

</div>

You can add restrictions to the input element by javascript.

[Link to demo and click template for bubble editor.](https://www.nalfe.com/?template=1630054709443x589936089095995400&p=template)

Feel free to dm me if you got any questions.

Cheers, Ada.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [November 6, 2021, 11:05pm UTC](https://forum.bubble.io/t/how-to-type-and-prevent-spacebar/166806/4 "2021-11-06T23:05:40Z")

</div>

Closed on November 6, 2021, 11:05pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
