text field validation on number

i am using suitecrm.and i am an developer.
i want to validate my all field.like mobile number should take only numbers and name should take only alphabets.
how can i validate my fields.
please help me.
thank you

If you want the validation done on-screen, not server-side, then you are probably looking for a solution like this one:


Some Javascript gets injected into the appropriate view, and then you can handle things form there.