Hi,
If you set the type of input field to “number”, won’t be possible to use custom symbols as thousands separator, or for decimals, but if you prefer to use the attribute type=”number” in both type of fields, please follow the steps below:
1. Open the files: “/wp-content/plugins/calculated-fields-form/js/fields-public/02_fbuilder.fnumber.js” and “/wp-content/plugins/calculated-fields-form/js/fields-public/02_fbuilder.fcurrency.js”, with the text editor your choice.
2. Go to the snippet of code:
type=”text”
and replace it like follow:
type=”number”
and that’s all.
About the autocompletion, it is a feature in browsers to suggest the values of fields in the form, with values used previously.
Best regards.
Thread Starter
ccwpcl
(@ccwpcl)
Thanks,
That works fine but, the number vanishes as soon as I move my cursor away from the field.
Best regards,
Hi,
That’s happening because after modify the type of field won’t be possible to configure the currency fields to be formatted dynamically, because the symbols used for currency and thousands separator can be invalid on input fields of type number.
Best regards.