Skip to content

Currency ​

The Currency fieldtype shows the symbol of the selected currency next to the amount.

yaml
handle: budget
field:
  type: currency
  display: Budget
  currency: EUR

Visitors can type either 12.50 or 12,50. The number of decimals follows the currency: two for euros, none for yen, three for Kuwaiti dinars. Amounts that could be read in more than one way, such as 1,234, are rejected with a validation error.

The amount is stored as a number. Emails show the symbol and only the decimals that are needed.