[CLOSED] Mask money pt-BR

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] Mask money pt-BR

    Hi,

    Is there something like that?
    See the example value (Valor: R$ 0,00).
    If not how I can use it in a textfield?
    Last edited by Daniil; Jan 29, 2014 at 2:57 PM. Reason: [CLOSED]
  2. #2
    Hi @luiz,

    Is the InputMask not what you are looking for?
    https://examples2.ext.net/#/Form/TextField/InputMask/
  3. #3
    Hi Daniil,

    Is the InputMask not what you are looking for?
    I think no. The mask plugin the "ext.net (extjs)" is fixed.

    The plugin I sent can do this:

    1,00
    1,99
    19,90
    199,00
    1.990,00
    1.990,59
    19.909,90
    1990.992.100,22

    It formats the value.

    Maybe I did not know how to configure the plugin you suggested.

    Thanks!
  4. #4
    I think you are right, there is no such the functionality in the InputMask plugin.

    You could try a similar approach that we discussed here:
    http://forums.ext.net/showthread.php?27858

    Or you can try to use TextMaskPlugin.js (that you referred to). It should be compatible with the ExtJS version used in Ext.NET. The latest Ext.NET releases - v2.3 and v2.4 - are both based on ExtJS 4.2.1 (the last public release).
  5. #5
    Hi Daniil,


    You could try a similar approach that we discussed here:
    http://forums.ext.net/showthread.php?27858
    This example is very different.

    Or you can try to use TextMaskPlugin.js (that you referred to).
    I think try to solve without modifying ext.net scripts is less "dangerous".

    The latest Ext.NET releases - v2.3 and v2.4 - are both based on ExtJS 4.2.1 (the last public release).
    I upgraded to this version 4.2.1 and continued working.

    Is possible use this plugin otherwise?

    That would really be a plugin?

    Thanks for you help!
  6. #6
    Quote Originally Posted by luiz View Post
    I think try to solve without modifying ext.net scripts is less "dangerous".
    Well, you won't need to modify the existing Ext.NET scripts.

    Quote Originally Posted by luiz View Post
    Is possible use this plugin otherwise?
    You can use it via a GenericPlugin:
    http://forums.ext.net/showthread.php...ll=1#post40035

    Quote Originally Posted by luiz View Post
    That would really be a plugin?
    Sorry, I don't understand the question. Please elaborate.
  7. #7
    Hi Daniil,

    Well, you won't need to modify the existing Ext.NET scripts.
    I don't understand!
  8. #8
    Well, could you, please, clarify why you are going to modify the Ext.NET scripts? Using a third-party plugin should not require that.
  9. #9
    Hi Daniil,

    Can you provide an example using ext.net componetes for this example?

    Thanks!
  10. #10
    Unfortunately, we don't have such an example and such the functionality. Though, it should be possible. We could assist if you want to implement such the functionality.

    Though, maybe, it is better to use the FieldMoney component if it is exactly what you need?
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: Jan 26, 2012, 12:43 PM
  2. Mask CSS Class?
    By Tbaseflug in forum 1.x Help
    Replies: 0
    Last Post: Aug 17, 2010, 2:32 PM
  3. [CLOSED] mask
    By majestic in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 11, 2010, 12:05 PM
  4. Fields Money
    By Maia in forum 1.x Help
    Replies: 2
    Last Post: Mar 25, 2009, 7:46 PM
  5. mask
    By flaviodamaia in forum 1.x Help
    Replies: 2
    Last Post: Dec 03, 2008, 3:03 PM

Tags for this Thread

Posting Permissions