Vorrei sapere come posso fare che il text dovrebbe accettare solo caratteri numerici oppure solo caratteri alfabetici.

Grazie