Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
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
#816065
Hi,
I have followed the documentation for adding the mask for currency https://wiki.processmaker.com/3.0/Addin ... 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.
Requirement:
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.
User avatar
By amosbatto
#816131
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
$("#id").getControl().maskNumber();
User avatar
By jemiris
#816135
Yes, I'm calling this way. like
$("#id").getControl().maskNumber();
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

https://wiki.processmaker.com/index.php/2.0/Common_Field_Properties#Converting_Masked_Numbers

Give us the better solution for this.

Hello. For rental housing, there are software solu[…]

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]