Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
User avatar
By jemiris
I have followed the documentation for adding the mask for currency ... rical_Mask. But using that I'm facing some issue I'm trying to enter 100. So I need to type extra two zeros. so that it converts as 100.00.
I need to add the mask after the user enters the field. If the user enters 1200.20. The system should add a comma like this 1,200.20 or give me any other solution.
By amosbatto
As explained in the documentation, Normandes Junior's mask is designed to do exactly what you want. It adds two decimal numbers and inserts a thousands separator. Are you calling it this way?
Code: Select all
User avatar
By jemiris
Yes, I'm calling this way. like
But the difficulty is if I want to enter 100. I need to type 10000. So that it calculates as 100.00. Each and every time I need to type extra two zeros. This is difficult while entering more numbers of the amount fields like amount, total and etc..

For single field this functionality accepted but more fields I have to enter for every fields extra two zeros. In that case, it fails :?:

In the 2.0Version it was much easier

Give us the better solution for this.
By amosbatto
It doesn't look like any of the standard JavaScript masks provide this. For example:

I don't have time to play with this right now, but you can implement it yourself. See: ... mal-places
By amosbatto
You need to do it this way:

or this way:

Dear amosbatto and team i tried to fix this issue[…]

Hi Amos, as regards the line breaks, this always […]

routeCase SOAP API error

It is working now and we are able to route a case.[…]

Hello, since the update to Version 3.2.3 I have t[…]