Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Edited Issue: MaskedEditExtender - ClearMaskOnLostFocus (only when Text Value is Empty) [16393]

$
0
0
It would be nice to have the MaskedEditExtender only Clear the Mask on LostFocus if there is no value (after stripping the mask chars). For example, I have a WatermarkExtender which shows a nice [Hint] on the TextBox (in this case a PhoneNo). However, I'd like the PhoneNo to remain "looking" masked even when the user hasn't fully entered all the characters of the mask (ex. (555) 456-____). This way the user will know that more data is required. However, if the data for the mask IS empty, I want the Watermark to take over and display it's hint (ex. if (text == "(___) ___-____" then ClearMask and display "[Enter a Phone Number]")).

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>