Is is possible at runtime to add a mask to a webtextedit box?
If so, how?
Hi,
I guess you asked about WebMaskEdit, but not WebTextEdit.
There is get/setInputMask(mask) member functions on client. The "set" is used internally while initialization of control. You may try to use it too, however, you should keep in mind that that value is not persistant to server. So, if you modify layout of entry-positions and literal static characters, then server will not be able to interpret value entered by user, and it will lead to wrong result. However, if your new mask will contain only different literal characters then all should work correctly.
You may look at implementation of igedit_mask function in ig_edit.js file.