• Resolved michaelrieder

    (@michaelrieder)


    Hi CodePeople

    Isn’t it possible to set incremental steps below 1 and use them in the frontend?

    e.g. min=0.01, max=1, step=0.01

    Currently it works only with integer numbers.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @michaelrieder

    Yes, that’s possible. But you must select the “number” choice through the “Number Format” attribute in the field’s settings.

    If you select the “digits” option, the field will accept only integer numbers.

    Best regerds.

    Thread Starter michaelrieder

    (@michaelrieder)

    Hi CodePeople

    There is a small bug regarding incemental steps. If I set the decimal seperator symbol to , (comma) the arrows up and down within the number field are not available. Maybe you can check this for upcomming versions.

    Regarding decimal seperator symbol and symbol for grouping thausands it causes some conflicts. If I leave it blank obviously CFF uses the windows language settings (US, EU) to display the numbers right but then in the html field and in calculated field it’s shown in US style. If I set them, the problem with the incemental steps occurs.

    I helped myself with adding a hidden field with the right settings for displaying it right html field.

    Best Regards Michael

    Plugin Author codepeople

    (@codepeople)

    Hello @michaelrieder

    Actually, it is not a bug. The arrows are not included by the plugin but browsers on input tags with type="number". However, if you select the comma symbol for decimals, the input tag must have type="text" because the comma is not a valid decimal separator for Javascript. In this case, you can tick the “Display spinner buttons” checkbox in the field’s settings to use the explicit plugin controls.

    Best regards.

    Thread Starter michaelrieder

    (@michaelrieder)

    Ok. You are really experts.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Incremental step’ is closed to new replies.