|
Rank: Advanced Member Groups: Member
Joined: 7/18/2008 Posts: 76
|
I have been reading the posts on how the required field validator does not work with your masked edit control. Do you know when/if you are going to provide that functionality?
Thank you.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,200
|
Hi,
MaskedEdit will never work with RequiredFieldValidator. They two have different definitions for empty fields. Required field validator considers any field that has any value as valid; Where as MaskedEdit does not have such a clear defintion. For example, an empty MaskedEdit for a phone number would show "(___) ___ ____" and it would be considered valid by RequiredFieldValidator.
The functionality that you are looking for is probably already there: There is a separate MaskEditValidator. It works very similar to RequiredFieldValidator.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 7/16/2009 Posts: 6
|
Hi,
I read this post and other post about the same topic, specially this "http://www.essentialobjects.com/forum/postst3692_Required-Field-Validator-for-Masked-Edit.aspx". I follow the instructions and test the same code, but nothing. Maskedit Field Validator doesn't work for me. Recently you give me intructions for download 7.0.34.2 version. There are another version with problem solve?.
Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,200
|
Hi,
You will need to set the segment's Required to true, and then use MaskedEditValidator, not RequiredFieldValidator.
Thanks
|
|