The Number field creates an input limited to numerical values.

How to use it

Select the File field from your field group.


Can I add a comma as a thousand separator? e.g. $ 1,000

Yes you can, by modifying the Twig template and adding 'number_format' for your number field.

{% if promo_price.value %}
	<div class="acf-view__promo-price">
		{{ promo_price.value|number_format }}
{% endif %}

Last updated