Completed
Last Updated: 20 Nov 2014 20:38 by ADMIN
Zach
Created on: 25 Aug 2014 16:36
Category: Kendo UI for jQuery
Type: Feature Request
3
remove mask from maskedtextbox on submit
When I save or return the value of a MaskedTextBox, it sends the value including the masked.

Mask: (000) 000-0000
User Enters: 3331112222
Value: (333) 111-2222
Expected Value: 3331112222

I think it should only send what the user entered and not include the mask. Right now I have to manually remove all of the mask characters from the value. It should only display the value with the mask, not store it.
1 comment
ADMIN
Telerik Admin
Posted on: 04 Nov 2014 11:45
Thank you for sharing your idea.

Indeed this behavior is by design and you need to manually strip the mask characters on submission, if you want to get the raw value. I hope this is applicable solution for your case.

Update: This is supported via the following attribute from the public API:
http://docs.telerik.com/kendo-ui/api/javascript/ui/maskedtextbox#configuration-clearPromptChar