• Resolved p.castaldi

    (@pcastaldi)


    Hello there.

    I’ve set up a simple spinbox element like this:

    [number myNumber min:0 max:10 step:0.1]

    I would expect that the spinbox control somehow reflects the step setting, incrementing the shown number by the step value, but it works only with non-decimal digits (e.g. 1, 2, 3, … while i would like to display 1, 1.1, 1.2, …).

    Is it possible to have it, somehow?

    https://wordpress.org/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter p.castaldi

    (@pcastaldi)

    Inspecting the html output, I noticed that if the step is set to a decimal number (e.g. 0.1), the attribute step of the field does not appear at all.

    I presume the plugin does not accept decimal spinbox controlled input.

    Is there a way to make it work? Any help or simply an answer is very welcome.

    Thread Starter p.castaldi

    (@pcastaldi)

    Ok… In the meanhile, I answered myself it was a stupid question: I just shifted from centimeters to millimeters to automatically solve the problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Decimal digits increment for spinbox and range control’ is closed to new replies.