I Have two questions Regarding to Edit Class :

Q1: If I want to input only integer Number to Edit Class. how can I Prevent user to input characters to Edit Class
Q2 : How can I get data Input to Edit_Class
Simply my Application is to create Edit_Classes to Let user provide the application Numbers

Thanks & Regards