Hi! This is a masked input plugin for the jQuery javascript library.
(Hayri Aslan more professionally implemented this feature: http://forums.unigui.com/index.php?/topic/4475-uniexclusive/)
Source and usage: http://digitalbush.com/projects/masked-input-plugin/
Demo: http://digitalbush.com/projects/masked-input-plugin/#demo
Simple example of use (eg with component UniEdit):
1. It is necessary to download the two files and include in your project 1. jquery 2. jquery.maskedinput.min.js
2.
1. UniEdit1.Text := '';
2. UniEdit1 -> ClientEvents -> UniEvents -> add function beforeInit:
function beforeInit(sender)
{
Ext.onReady( function () {
$("#"+sender.id+"-inputEl").mask("99/99/9999");
});
}
Best regards.