# Verification code component bug

**URL:** <https://community.weweb.io/t/verification-code-component-bug/4087>\
**Category:** Ask us anything\
**Created:** [August 29, 2023, 1:33pm UTC](https://community.weweb.io/t/verification-code-component-bug/4087 "2023-08-29T13:33:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![raelyn](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/raelyn/32/2803_2.png) [@raelyn](https://community.weweb.io/u/raelyn)\
**Post date:** [August 30, 2023, 7:06am UTC](https://community.weweb.io/t/verification-code-component-bug/4087/4 "2023-08-30T07:06:28Z")

</div>

Yes, that’s how it is unfortunately… I made a thread recently about using some code to get it to behave how you like.

> [@Question about "secure code - 4" Weweb element](https://community.weweb.io/t/question-about-secure-code-4-weweb-element/3676/4):
>
> Sure! The code I use was (this is for on change workflow on the first box), replace with your own variable values. Then do something very similar to the second and third box~ // Access the global variables let code1Value = variables[‘’]; let code2Value = variables[‘’]; let code3Value = variables[‘’]; let code4Value = variables[‘’]; // Check if the length of code1Value is more than 1 if (code1Value.length \> 1) { // If it is, add the second character to code2Value code2Value += code1Value…

Although that workaround works, but in the end i abandoned it as its too complex, I just use a normal input field now.

---

_[View the full topic](https://community.weweb.io/t/verification-code-component-bug/4087)._
