Hide and show in PDF with German decimal notation vs US decimal notation

Forminator Forms
21 March, 2023 23:51:18
labrat
Topics: 1
Messages: 2
Dear support team,

our Forminator form supplies two different calculation fields on the E2PDF template. One is using US notation 1,234,456.00, the other one is using German notation 1.234.456,00.

The hide and show features of an HTML field containing a {calculation-1} fail with the German decimal notation. It works fine when switching to US decimal notation in Forminator. I would not call it a bug, just a sloppy implementation with not paying attention to a minor detail, with a huge effect on the sanity of a customer trying to get this to work. ;-)

This one will freak you out: the next HTML field containing a {calculation-2} with German decimal notation works as expected. Now it is a bug which cannot be replicated reliably.
I was chewing on this issue for three days, doubting my sanity.
I'm prepared to give you access to my development platform and/or submit an FTP login.

Some background to our operation. We are an insurance that provide online form to sell premiums. The customer fills out the form, pays with PayPal, and receives the policy via email. From a financial company, it is expected to provide correct notations. It's all about trust. A German operation should not work with sent out financial documents carrying US decimal notation, especially when it carries both notations. It may provide a playground for lawyers, which is a rather expensive game better to be avoided.

Thank you for your support and careful consideration of this rather annoying issue.

Winni

[email protected]
22 March, 2023 03:21:49
E2Pdf
Support
Topics: 7
Messages: 3345
Hi,

We need to see your "Conditionals" on the field as it's strange that the same fields work differently. Submit please support ticket with access details to WP Admin Dashboard here: https://e2pdf.com/support/request

Please, include Links or Forminator Entry IDs so we can replicate the issue with created entries and attach screenshots of the "HTML" objects with which you have issues.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
22 March, 2023 23:35:01
labrat
Topics: 1
Messages: 2
Hi

after correcting the conditions according to your suggestions, I was able to produce expected results.

Then, I've noted that the calculated fields in Forminator could carry "zero" or "ignore the field". Since I was testing on "0" an "ignore this field"-status was certainly not helpful. Fixing this helped in a couple of cases.

One exception was a field "select-4", where I was switching calculation fields for display purposes. I still could not get the right results. I now test conditions of the select field, which returned the expected results.

All is working fine now.

I've set all relevant fields back to German decimal notation. The PDFs produced the right results. My apologies for the assumption the German notation could result in a bug.

Thank you for your swift help in addressing the problems.

All is fine now, and I believe you can close the ticket.

All the best

Winni