Configurable List: Decimals in Number Fields

  • Profile Image
    Asked on February 20, 2017 at 04:23 PM

    Hi Widget Team, can you tell me a example for format a number field with 2 decimals?


  • Profile Image
    Answered on February 20, 2017 at 05:53 PM

    Unfortunately, it is not possible to format a text field in a Configurable List widget.

  • Profile Image
    Answered on February 21, 2017 at 07:19 AM

    Hi BDAVID, if is not possible, how you explain this answer?

  • Profile Image
    Answered on February 21, 2017 at 10:15 AM

    Decimals can be entered inside of spinner/number field inside of Configurable list widget.

    Numbers will be rounded to two decimals or one decimal (1,60 will be rounded to 1,6).

    On other thread Widget Team mentioned that new options are added for spinner field (step, min, max).

    step - can be a floating number ( with decimal )

    min - can be a floating or negative number

    max - can be a floating or negative number

    If you want number is increased with some other value, rater by 1 which is default value, you can use step function. You can also use decimals. To achieve this inside of your configurable list widget settings, for spinner field add desired increment value. You can also use min and max value for spinner field, like this.

    Here is my demo form: 

    Hope this will help. Let us know if you need further assistance.