Masked input widget is not working.

  • Profile Image
    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!

  • Profile Image
    Chriistian
    Answered 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 )

    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.

     

  • Profile Image
    FFAV
    Answered 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. 

  • Profile Image
    Chriistian
    Answered on June 24, 2016 at 01: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 

    If you need further assistance, please let us know.

     

  • Profile Image
    FFAV
    Answered on June 24, 2016 at 03: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.

     

     

     

  • Profile Image
    Charlie
    Answered on June 24, 2016 at 03: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.

     

    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:

     

    Here's how it looks like:

     

    Let us know if that helps.

  • Profile Image
    FFAV
    Answered on June 24, 2016 at 03:50 AM

    Thank for your help! :)) wonderful