# Auto Caps Input

**URL:** <https://forum.adalo.com/t/auto-caps-input/29560>\
**Category:** Design\
**Created:** [July 16, 2022, 10:14am UTC](https://forum.adalo.com/t/auto-caps-input/29560 "2022-07-16T10:14:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zwood](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/zwood/32/21939_2.png) [@Zwood](https://forum.adalo.com/u/Zwood)\
**Post date:** [July 16, 2022, 10:14am UTC](https://forum.adalo.com/t/auto-caps-input/29560/1 "2022-07-16T10:14:09Z")

</div>

Is there a way to make the input field to accept numeric and alphabetical characters but force all alphabetical characters to capitalized automatically when entered regardless if caps lock is activated or not?

Needed for VINs (vehicle identification numbers numbers)

---

<div class="post-metadata">

**Author:** ![Flawless](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/flawless/32/20131_2.png) [@Flawless](https://forum.adalo.com/u/Flawless)\
**Post date:** [July 16, 2022, 1:24pm UTC](https://forum.adalo.com/t/auto-caps-input/29560/2 "2022-07-16T13:24:50Z")

</div>

You can do this with Javascript

You’ll need to first install the Arbitrary Javascript component by Pragmaflow: [How to install the Arbitrary Javascript by Pragmaflow into your Adalo app - YouTube](https://www.youtube.com/watch?v=Kqd4uGv5ptw)

Then, watch this video starting at about the 1:00 point: [Splitting a string using either Javascript of Xano](https://vimeo.com/664001077) to see how to execute javascript functions.

You’d use **`toUpperCase()`** to capitalize all letters.

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [July 16, 2022, 7:31pm UTC](https://forum.adalo.com/t/auto-caps-input/29560/3 "2022-07-16T19:31:20Z")

</div>

What Flawless said 💪

> **Adding some information**
>
> Example : [Make Input Capital.mp4 - Google Drive](https://drive.google.com/file/d/1CCwzMjjourV0jbge5WR_3g_3A6pWuFHd/view?usp=sharing)
> 
> The JS:
> 
> ```auto
> var input = "test";
> var value = input.toUpperCase();
> return value;
> 
> ```
> 
> ( replace the test with the input’s value )
> 
> Or you can go with the API way too! : Abracadalo : [String API | Abracadalo API Handbook](https://docs.abracadalo.com/string-api#uppercase)
