Yesterday on LinkedIn I saw one discussion where one of group member asked a query about how to create Input mask on text box in SharePoint List form.
While searching on internet I found this post. In this post Author opened the new form in SharePoint designer, added custom new form and then added jQuery code on page.
But what if I do not have SharePoint designer.
So instead opening page in SharePoint designer, I added CEWP on NewForm.aspx
And then I did some changes in original code, Instead of custom style I used Title of the field. And I inserted below code in Source editor of the CEWP.
$("input[title='Phone']").mask("(999) 999-9999? Ext.99999");
And it worked for me. Have a look at below screenshot.
http://www.a2zdotnet.com/View.aspx?Id=194 (Original post)