Masked input widget is not working.

  • FFAV
    Asked on June 23, 2016 at 11:53 PM

    Hi J, 

    Help me!

    I'm using masked input widget and when I use conditions (A+B = C) then it not working. Can i working with this widget and condition function.? 

    Thank yours warm!

  • Chriistian Jotform Support
    Replied on June 24, 2016 at 12:06 AM

    The masked input widget only allows symbols and the digit 9 as the custom pattern, so you will not be able to use A or B as the pattern. To make the input mask output correctly, you will need to use the following pattern: ( 9 + 9 = 9 )

    Masked input widget is not working Screenshot 30

    You can check out the "Ngân sách từ Địa phương:" field in this form to see it in action: https://form.jotform.com/61748622389972. You can also clone it to your account to see the widget.

    Masked input widget is not working Screenshot 41

     

  • FFAV
    Replied on June 24, 2016 at 12:41 AM

    Hi J, 

    With my case. I want add A FIELD and B Field (Money?). any widget or any function can satisfy? 

    Thanks. 

  • Chriistian Jotform Support
    Replied on June 24, 2016 at 1:03 AM

    Can you please provide further details regarding your requirement? As of now I believe the Form Calculation widget is suitable for your requirement. It allows you to perform calculations from your fields. To perform these calculations, please follow this guide: How to Perform Calculation in the Form?

    Here's a demo form where I add the values from Field A and Field B, then output them in the Form Calculation widget. https://form.jotform.com/61750481467965 

    Masked input widget is not working Screenshot 20

    If you need further assistance, please let us know.

     

  • FFAV
    Replied on June 24, 2016 at 3:03 AM

    Hi J, 

    Maybe is it, However, when i add A AND B output is only "number" while i need unit of money $$$

    Ex: 1,200,000 + 1,200,000 = 2,400,000 but output is only "24"

    Please, disturb again.

     

    Masked input widget is not working Screenshot 20

     

     

  • Charlie
    Replied on June 24, 2016 at 3:28 AM

    Please note that when you enabled the "Use commas for decimal point", this means that you are using commas for the decimal point. Meaning, 12,000 is actually 12.00 which is 12 when its rounded of as a whole number.

    Masked input widget is not working Screenshot 40

     

    If you use commas for the thousands and millions place, then you need to DISABLE that option.

    Your users also do not need to enter commas when doing the calculation, the system understands that 1000 is 1,000 or one thousand. 

    If you need to add a currency on your total value, simply input it in the form calculation widget. Here an example:

    Masked input widget is not working Screenshot 51

     

    Here's how it looks like:

    Masked input widget is not working Screenshot 62

     

    Let us know if that helps.

  • FFAV
    Replied on June 24, 2016 at 3:50 AM

    Thank for your help! :)) wonderful