Hi everyone, i'm a bit newbie with autoplay and this is my first time i ask for your support guys.
Okay so, I want to make an InputText correction, for example:
1st Istance: The user types the number "1". => 1 digit number
(With a Button or automatically) The InputText get corrected it to $1.
2nd Istance: The user Types the number "1000". => 4 Digits number
(With a Button or automatically) The InputText get corrected it to "$1.000"(Means one thousand in my country)
3rd Istance: The user Types the number "1000000" => 7 digits number
(With a Button or automatically) The InputText get corrected it to "$1'000.000".
---Alll this three examples in the same input text----
Sorry if you get ofended with my "kindergarden" example is to be more specific for what i want.
Attempts
*I've used InputMask, but since the number digits are variate, is not possible to use.
*I've tried to combine this function: >Here< with what i want but i don't know how to complete the fuction.
*I've found one user who got it, but the code is not avaliable anymore(he removed it). Picture Here: http://widgo.com/t/trgSg.jpg
Thanks a lot for reading!
Hope you can help me guys!
Regards!
Danny.
Okay so, I want to make an InputText correction, for example:
1st Istance: The user types the number "1". => 1 digit number
(With a Button or automatically) The InputText get corrected it to $1.
2nd Istance: The user Types the number "1000". => 4 Digits number
(With a Button or automatically) The InputText get corrected it to "$1.000"(Means one thousand in my country)
3rd Istance: The user Types the number "1000000" => 7 digits number
(With a Button or automatically) The InputText get corrected it to "$1'000.000".
---Alll this three examples in the same input text----
Sorry if you get ofended with my "kindergarden" example is to be more specific for what i want.
Attempts
*I've used InputMask, but since the number digits are variate, is not possible to use.
*I've tried to combine this function: >Here< with what i want but i don't know how to complete the fuction.
*I've found one user who got it, but the code is not avaliable anymore(he removed it). Picture Here: http://widgo.com/t/trgSg.jpg
Thanks a lot for reading!
Hope you can help me guys!
Regards!
Danny.
Comment