Nov 20, 2015, 8:31 PM
[CLOSED] Text field with InputMask doesn't get marked as invalid
Here is the sample:
Thanks!
<%@ Page Language="C#" %>
<!DOCTYPE html>
<html>
<head runat="server">
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" SourceFormatting="True" ScriptMode="Development" />
<ext:FormPanel runat="server">
<Items>
<ext:TextField runat="server" ID="tf1" AllowBlank="False" FieldLabel="TF1">
<Plugins>
<ext:InputMask runat="server" Mask="99999"></ext:InputMask>
</Plugins>
</ext:TextField>
<ext:TextField runat="server" ID="tf2" AllowBlank="False" FieldLabel="TF2"></ext:TextField>
<ext:Button runat="server" Text="Validate" OnClientClick="#{tf1}.validate();#{tf2}.validate();"></ext:Button>
</Items>
</ext:FormPanel>
</form>
</body>
</html>
If you remove this part, the field is marked sa invalid:<Plugins>
<ext:InputMask runat="server" Mask="99999"></ext:InputMask>
</Plugins>
Do I miss something?Thanks!
Last edited by Daniil; Nov 27, 2015 at 7:35 PM.
Reason: [CLOSED]