[CLOSED] [Bug 2.1] Exception using InputMask with DateField or NumberField

  1. #1

    [CLOSED] [Bug 2.1] Exception using InputMask with DateField or NumberField

    <ext:DateField ID="DateOfBirth" runat="server" FieldLabel="Date of Birth" AllowBlank="false" EmptyText="Date Born" Width="200">
    <Plugins>
            <ext:InputMask runat="server" Mask="99/99/9999" />
    </Plugins>
    </ext:DateField>
    
    <ext:NumberField ID="Zip" runat="server" MinLength="5" MaxLength="5" FieldLabel="Zip Code" AllowBlank="false" EmptyText="Your Zip Code" Width="380" >
    <Plugins>
           <ext:InputMask runat="server" Mask="99999" AlwaysShow="true" />
    </Plugins>
    </ext:NumberField>
    Unhandled exception at line 437, column 6 in /ux/inputmask/inputmask-js/ext.axd?v=11828
    0x800a138f - JavaScript runtime error: Unable to get property 'charAt' of undefined or null reference
    Last edited by Daniil; Mar 28, 2013 at 4:22 AM. Reason: [CLOSED]
  2. #2
    Hello!

    Thank you for the report. We are investigating.
  3. #3
    Hello,

    Unfortunately, an InputMask can't work with a NumberField and a DateField, because they restrict keystrokes. It breaks the plugin's logic.
  4. #4
    Michaeld, it would be interesting to you take a look on http://forums.ext.net/showthread.php?58581.

Similar Threads

  1. What values can I use in the InputMask Plugin?
    By KBorkiewicz in forum 2.x Help
    Replies: 2
    Last Post: Mar 26, 2013, 1:32 AM
  2. [CLOSED] InputMask JS error
    By stratadev in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 13, 2013, 4:27 PM
  3. Disabling InputMask using JS
    By joaxazevedo in forum 2.x Help
    Replies: 1
    Last Post: Mar 06, 2013, 3:17 PM
  4. [CLOSED] InputMask
    By sigmasafi in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Feb 28, 2013, 4:08 AM
  5. How to add an InputMask plugin?
    By joaxazevedo in forum 2.x Help
    Replies: 3
    Last Post: Feb 21, 2013, 8:28 PM

Tags for this Thread

Posting Permissions