• Resolved willshak

    (@willshak)


    Hi,

    My form has number fields and before today they had spinners (since they are numeric fields, not text fields.)

    Today though the spinners disappeared, and the generated HTML shows both pre-existing number fields and newly added number fields have type="text", hence the disappeared spinners:

    
    <input type="text" name="number-9" value="0" placeholder="E.g. 10" id="forminator-field-number-9" class="forminator-input forminator-number--field" pattern="^\-?\d*([\.\,]\d+)?" inputmode="numeric" data-required="" aria-required="false" min="1" max="150" aria-invalid="true">
    

    Maybe this happened with the plugin updated today? If so, and unless I’m misunderstanding things, can you change them back to type="number"?

    Thanks,
    Kristian

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter willshak

    (@willshak)

    P.S.

    Both in the forminator GUI and when exporting the form the number fields are still “number”, see this part from the export:

    JSON
    {"id":"number-1","element_id":"number-1","form_id":"wrapper-8718-4979","type":"number","options":[],"cols":4,"conditions":[],"wrapper_id":"wrapper-8718-4979","calculations":"true","limit_min":"0","limit_max":"150","field_label":"","placeholder":"E.g. 2","condition_action":"show","condition_rule":"all","default_value":"0","required":true}
    

    The HTML as mentioned is however type="text".

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @willshak

    I was able to replicate this in a testing site of mine as well and I’ve already pinged our Forminator team to provide some more insights about it. ??
    We’ll keep you posted here as soon as possible.

    Thank you,
    Dimitris

    Plugin Support Mukul Chawla

    (@mukulchawlaincsub)

    Hey @willshak

    Thanks for reporting this. We’ll be reverting this change in the next release i.e. v1.14.1.

    Just to give you more details on what happened, we were working to add a new formatting option in the number field(and some others) where the numbers can be formatted like 9,999.00(or custom separators). And this feature would require the number field to be changed to a text field so these separators can be added. But, we ended up removing this feature from the 1.14 release because it wasn’t ready on time and we missed to revert the field type change when we were removing any changes we did for this new formatting feature in 1.14.0.

    Regards,
    Mukul CHawla

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @willshak ,

    Since this is confirmed that the next version 1.14.1 will revert that change I will mark this ticket as resolved.
    If you need further assitance please feel free to re-open this ticket.

    kind regards,
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Number input field now text field’ is closed to new replies.