Powered By InputMask Evaluation Version
InputMask 3.5 Demos
© 1998-2008 Data Research Group. All rights reserved

Return To Menu Cut, copy and paste Next Demo

ABOUT THIS DEMO:
One of the hardest obstacles in building InputMask, was the default behavior of cut/copy/paste. Up until IE 5.1 and Mozilla 1.2, there was no way of handling these events or detecting change from the default behavior. Even now, every browser (in different ways) produce results that make entry restriction very hard to enforce. Using a combination of events and checks, InputMask can work around those problems.


InputMask

1) Using your keyboard, type in some number and letters in the textbox below.



2) Then (while your cursor is still inside the textbox) select all the text by pressing Ctrl+A or dragging over the all the contents in the box. You can also use the right-click menu in IE or Mozilla and select the appropriate option.

3) Press Ctrl+C on your keyboard to copy the content you selected or use the right-click menu in IE or Mozilla and select "copy".

4) Click into the InputMask on the left, and paste the value into it by pressing Ctrl+V on your keyboard or by using the right-click menu in IE or Mozilla.

Result: