[CLOSED] Vtype problem

  1. #1

    [CLOSED] Vtype problem

    hi,

    i need to validate textfield which allow only string values, so i used vtype="alpha" property but its allowed some special chars(#,!,_) .. why vtype alpha property allowed special symbols, how i can restrict special chars in that property...

    
    
    
    <ext:TextField ID="cltfCode" runat="server" MaxLength="3" </p>
    
    
    MinLength="3" MinLengthText="Must enter 3 characters" BlankText="Currency code required"</p>
    
    
    StyleSpec="text-transform:uppercase;" AllowBlank="false" Vtype="alpha">
    
    </ext:TextField>
    </p>
  2. #2

    RE: [CLOSED] Vtype problem

    Hi,

    I tried your sample and it appears to function correctly. All non-Alpha characters are not allowed in the field.


    You could also try just setting the MaskRe Property.


    Example


    <ext:TextField runat="server" MaskRe="[a-zA-Z]" />

    Hope this helps.




    Geoffrey McGill
    Founder
  3. #3

    RE: [CLOSED] Vtype problem

    Which version of the Toolkit are you using?

    Geoffrey McGill
    Founder
  4. #4

    RE: [CLOSED] Vtype problem

    hi,
    i am using 0.8.2.27615 verson of the toolkit...

Similar Threads

  1. How can i find all Vtype 's list
    By fatihunal in forum 1.x Help
    Replies: 5
    Last Post: Oct 23, 2012, 10:10 PM
  2. [CLOSED] validation vtype
    By rnfigueira in forum 1.x Legacy Premium Help
    Replies: 12
    Last Post: Jul 20, 2012, 9:07 AM
  3. [CLOSED] DateField validate problem with Vtype="daterange"
    By asztern in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 30, 2010, 8:06 PM
  4. How to see the possible values that can take vtype?
    By flormariafr in forum 1.x Help
    Replies: 3
    Last Post: Jan 22, 2010, 9:44 AM
  5. Replies: 2
    Last Post: Mar 30, 2009, 8:29 AM

Posting Permissions