Sep 02, 2014, 10:56 AM
[CLOSED] Getting the value from TextField with InputMask plugin
Hi,
I'm trying to read the value from the textfield with InputMask:
I'm trying to read the value from the textfield with InputMask:
X.TextFieldFor(x => x.Phone, false).Plugins(X.InputMask().Mask("(999) 99-99-99"))
Resulting value (in form, in corresponding model and so on) has all special symbols from the mask like "-","(",")" etc. How to set the field value without it (but the user must see masked value!)?
Last edited by Daniil; Sep 09, 2014 at 1:22 PM.
Reason: Please use [CODE] tags, [CLOSED]