# How detect the pression of character and change with other charapter in webtextbox

**URL:** <https://forum.xojo.com/t/how-detect-the-pression-of-character-and-change-with-other-charapter-in-webtextbox/80324>\
**Category:** Web\
**Created:** [May 15, 2024, 8:08pm UTC](https://forum.xojo.com/t/how-detect-the-pression-of-character-and-change-with-other-charapter-in-webtextbox/80324 "2024-05-15T20:08:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jury\_buono1](https://forum.xojo.com/user_avatar/forum.xojo.com/jury_buono1/32/17255_2.png) [@jury\_buono1](https://forum.xojo.com/u/jury_buono1)\
**Post date:** [May 15, 2024, 8:08pm UTC](https://forum.xojo.com/t/how-detect-the-pression-of-character-and-change-with-other-charapter-in-webtextbox/80324/1 "2024-05-15T20:08:51Z")

</div>

I must intercept the pression of dot charapter “.” and change this with comma character “,” on the fly when i writing data in webTextbox (web 2.0)

Is It possibile ?

---

<div class="post-metadata">

**Author:** ![AlbertoD](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@AlbertoD](https://forum.xojo.com/u/AlbertoD)\
**Post date:** [May 15, 2024, 8:22pm UTC](https://forum.xojo.com/t/how-detect-the-pression-of-character-and-change-with-other-charapter-in-webtextbox/80324/2 "2024-05-15T20:22:58Z")

</div>

I think you will need to create your own WedSDK control and use some JavaScript to do the ‘on the fly’ conversion client side.

Xojo offers TextChanged event but it says:

> The event fires only when the user has stopped typing for a short period.

that makes sense as the browser needs to send all the text to the server for evaluation and then get back the result.

---

<div class="post-metadata">

**Author:** ![jury\_buono1](https://forum.xojo.com/user_avatar/forum.xojo.com/jury_buono1/32/17255_2.png) [@jury\_buono1](https://forum.xojo.com/u/jury_buono1)\
**Post date:** [May 15, 2024, 8:28pm UTC](https://forum.xojo.com/t/how-detect-the-pression-of-character-and-change-with-other-charapter-in-webtextbox/80324/3 "2024-05-15T20:28:32Z")

</div>

Ok, Is not for me 😃

---

<div class="post-metadata">

**Author:** ![Artur\_Zaremba](https://forum.xojo.com/user_avatar/forum.xojo.com/artur_zaremba/32/15272_2.png) [@Artur\_Zaremba](https://forum.xojo.com/u/Artur_Zaremba)\
**Post date:** [May 17, 2024, 7:19am UTC](https://forum.xojo.com/t/how-detect-the-pression-of-character-and-change-with-other-charapter-in-webtextbox/80324/4 "2024-05-17T07:19:25Z")

</div>

[DotToComma](https://drive.google.com/file/d/1WiDQ0q4bQ64LmxVxmgUZPe9W16QoGh8S/view?usp=sharing)

Have fun 🙂
