Question T9453
Visible to All Users

InputMask: Currency - Min and Max Value

created 3 years ago

We have a number of fields that require currency for its inputMask. I have not been able to find any way to set a Min and/or Max Value.

Thank you look forward to hearing from you soon.

JSON
{ "name": "goal_cost", "title": "Cost", "cellType": "text", "isRequired": true, "inputMask": "currency" }

Answers approved by surveyjs Support

created 3 years ago

Hello Kristy,
Do you use a custom widget? We do not have "inputMask" property in our library. If it is a custom widget, then you have to implement min/max properties in it.

Thank you,
Andrew
SurveyJS Team

    Show previous comments (5)

      Hello Kristy,
      If you are using SurveyJS Library that it is fine. If you are going to use SurveyJS Creator V2 for React, then it is better to have:

      JavaScript
      import * as Survey from "survey-core"; import * as SurveyReact from "survey-react-ui";

      SurveyJS Creator V2 for React using these packages. However, in general "survey-react" is a bundle for "survey-core" and "survey-react-ui".

      Thank you,
      Andrew
      SurveyJS Team

        Thanks Andrew at this stage we are only using the Library
        but I am sure in not long to come we will be an investment.

          OK

          Thank you,
          Andrew
          SurveyJS Team