Support » Plugin: Calculated Fields Form » Nice – just one issue regarding numbers/commas

  • Resolved mw360

    (@mw360)


    Hello,

    Using this for some quick/simple live calculations (without submit) and it is really well done, thanks for this.

    One small but noticeable issue we found though, when input is set to ‘number’ and validation is on so that error messages can appear, we’ve noticed that while decimals work fine, commas trigger an error. Oddly, the error that comes up is regarding ‘over minimum’ (which is currently set to 1).

    So for example, ‘2000’ is ok, and ‘2000.45’ is ok… but ‘2,000’ causes the error to appear for ‘over minimum’ (though, number is still applied and recognized properly in auto calculation).

    Is there any way – even if temporary mod in JS – to disregard or white list the comma so that it doesn’t trigger an error? For long entries users tend to enter commas (i.e. 2,456,121) and are then confused that this triggers an error…

    Thanks very much

    https://wordpress.org/plugins/calculated-fields-form/

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    The field for numbers does not allow the comma symbol to separate thousands, but the next plugin’s update will include a control for currencies, where will be possible define the separator for thousands.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Nice – just one issue regarding numbers/commas’ is closed to new replies.