Restrict Text data type field to alphabet

Hi,

How can I restrict the input from useres only to alphabet in Text data type field?

Thank you.

Hi John,

If you look into the Forge there are several options of Masks that allow you to do that.

Hi Rolo,

Thanks for your answer.
After downloading a component like "Input Masks", how to use them?

That one, in particular, I think it has a page with samples.

But it's a webblock that you put next to the input, that block will need to have the input id and regex you need.

Thank you.
I will try.

Hi Rolo,

It works, but put line in the form and as part of the atribute in database.

Hi John,

You can use this regex to restrict the other character. it allows only alphabet.

/^[A-Za-z]+$/