Results 1 to 3 of 3

Thread: Numberfield : use '.' and ',' as separator simultaneously

  1. #1
    Sencha User sky2's Avatar
    Join Date
    Aug 2008
    Posts
    3

    Default Numberfield : use '.' and ',' as separator simultaneously

    I want to use '.' and ',' as separator simultaneously in my number field
    But as result i must have number with '.' as separator.
    How to do this ?
    Tnx.

  2. #2
    Sencha User friend's Avatar
    Join Date
    Apr 2011
    Posts
    895

    Default

    You'll most likely have to use an Ext.form.TextField, where the regex property can be used for validation and the maskRe property allows a regex expression which restricts what characters can be entered.

  3. #3
    Sencha User brittongr's Avatar
    Join Date
    Jun 2007
    Location
    Panama
    Posts
    109
    Greivin Britton

    My Extensions:
    Ext.ux.NumericField: Number field with support for currencySymbol, thousand separator, international...
    Ext.ux.PagerSizeSelector: A plugin that allows the change page size with just one click.
    Ext.ux.FieldAccess: A plugin to let the user know which fields are editable.

Similar Threads

  1. decimal separator in a numberfield
    By PatrickS in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 15 Oct 2010, 12:00 AM
  2. numberfield comma separator
    By genTaliaru in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 10 Dec 2009, 10:50 PM
  3. NumberField + decimal separator
    By fother in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 26 Aug 2009, 5:55 AM
  4. NumberField with , for decimal separator
    By Pmithrandir in forum Ext GWT: Help & Discussion (1.x)
    Replies: 4
    Last Post: 18 Dec 2008, 7:35 AM
  5. NumberField: can't change decimal separator
    By GnuDK in forum Ext 1.x: Bugs
    Replies: 2
    Last Post: 16 Apr 2007, 4:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •