chrishajer
(Chris (Gravity Forms))
June 25, 2026, 8:05pm
2
We’ve talked about it a few times in these forums:
Hello everybody, I would like our donation form input field in numbers (or prices) to be shown in the auto-generated pdf in full words, for example " 56 Euros" as “five - six”, or 456.87 as “four - five - six - eight -seven”. Do you know how to do it? Just for context, our legislation in Germany requires the donation receipts to be done like this.
I know how to solve the problem on the fixed donations, but it is a problem when the donor is choosing the amount themselves.
I have already researc…
Hi,
Is there a possibility (function) to convert an amount to text?
Now a user should type itself however many typos are then possible or incompleted text,
Small example:
Amount: 30,00
Text as money: “dertig euro en nul cent”
Ron
There are PHP libraries now that could also be harnessed to transform the value that was submitted, and convert it to text using the gform_pre_submission filter and a bit of custom code, if you need the words stored in the entry:
A simple PHP library for converting figures to words.
Number to string standalone PHP library with i18n. Drivers for numbers and currency included.