• Resolved Damn!

    (@greedymind)


    Hello,

    I would like to know if there’s a way to add suffix to the number fields, as in if I had a number field that accepted percentages then it should have a “%” suffix. similarly if I had a number field that accepted values in centimeters then it should have a “cm” suffix.

    Thanks in advance.

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

    (@codepeople)

    Hi @greedymind,

    In this case I recommend to use the “Currency” control instead the “Number”, even if you want to use symbols like “%” or “cm”

    Best regards.

    Thread Starter Damn!

    (@greedymind)

    That’s sad, because I’ve created the whole form using the number field and changing them to currency would be a huge work. also the fieldnames would also change making my functions unfunctionable. ?? Is there a way to change all the number field to currency?

    Also, if im not wrong the currency field can accept float values and i’ll be needing only digits.

    thanks again.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    A possible solution that is not perfect, but at least prevents confusions in the users is: Enter as the attribute: “Predefined Value” the text: “Enter the percentage value”, and tick the checkbox: “Use predefined value as placeholder.”.

    A different solution would require modify the plugin’s code. However, if it is really important in your project you can contact me through my private website:

    https://cff.dwbooster.com/customization

    Best regards.

    Thread Starter Damn!

    (@greedymind)

    I guess I’ll just stick with what i have. thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to add Suffix to the number fields?’ is closed to new replies.