# Restrict function bumps into azerty problem (I think)

**URL:** https://forum.kirupa.com/t/restrict-function-bumps-into-azerty-problem-i-think/191149
**Category:** Uncategorized
**Created:** [June 17, 2006, 8:58pm UTC](https://forum.kirupa.com/t/restrict-function-bumps-into-azerty-problem-i-think/191149 "2006-06-17T20:58:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![vintage](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vintage](https://forum.kirupa.com/u/vintage)
#### Post date: [June 17, 2006, 8:58pm UTC](https://forum.kirupa.com/t/restrict-function-bumps-into-azerty-problem-i-think/191149/1 "2006-06-17T20:58:06Z")

</div>

```auto
email.restrict="A-Z a-z 0-9\\_\\@\\.";

```

But on some machines I run into a problem, they cant type the @ character.  
Till now only SOME azerty keyboards have this problem.

Does anyone have the solution to this problem ?

I can offcourse skipp the restrict function and check if the indexOff(weird character)\>0, but that would be a long code while restrict actually should do the trick 😛
