Joomla 6 Mitteilung

Wir freuen uns mitteilen zu können, dass seit dem 14. Oktober 2025 alle unsere Joomla Erweiterungen mit Joomla 6 kompatible sind.

Für alle die gerade noch von Joomla 3 auf 4 aktualisieren: Anleitungen für die Joomla 4 Migration gibt es hier:

Es gibt eine eigenständige Dokumentation für Visforms für Joomla 4 und eine für Visforms auf Joomla 5 und 6

Forum

Visforms Subscription Inhaber können in unserem Forum Fragen stellen. Bitte mit dem entsprechenden Benutzer anmelden.
Jeder kann lesend auf das Forum zugreifen.

Bitte stellen Sie nur 1 Frage pro Thema.

Wichtige Angaben für fast jede Frage:
V1: Welche Visforms-Version läuft?
V2: Welche Joomla-Version läuft?
V3: Welche PHP-Version läuft?

"$" in User Input truncates PDF output.

Mehr
23 Stunden her - 12 Stunden 51 Minuten her #12109 von gggraphics
"$" in User Input truncates PDF output. wurde erstellt von gggraphics
Visforms Version 4.4.3
PHP 8.1.34
Joomla 4.4.10 

I have an Art Show Entry form which allows Users to enter a price for their works.
If It set it to Type "Number", it works perfectly, ie "1234".

In testing, some users complained that they couldn't understand why it wouldn't accept the price if they entered "$1234".
It's not used for calculation, so I changed the Type to "Text".

The result is sent back to the User as plain text and a PDF document (The PDF function is brilliant, thank you!!).
The text result is correct, but the PDF truncates the first two digits. For example:

User entry: $1234
Email text result: $1234
PDF result: 34
The placeholder in the PDF layout is ${entry1-price}

I've also tested this with other text fields - the problem seems to be "$" followed by a number.
For instance:
Input "$Name"  returns "$Name"
Input "$4Name" returns "Name"
Input "Nam$45e" returns "Name"
"This is a $45Test$55Again" returns "This is a TestAgain"

They are all stored correctly in the database and in the result email.
It's only the PDF copy that is missing characters.

I wonder if the output is seeing the '$" as an Escape character - an instruction rather than a letter?
Not a big deal, but it means that if the User has "$" as part of the title, the results are unpredictable.
Cheers

GG
Letzte Änderung: 12 Stunden 51 Minuten her von Administrator IV.

Mehr
12 Stunden 5 Minuten her - 12 Stunden 3 Minuten her #12118 von Administrator IV
Administrator IV antwortete auf "$" in User Input truncates PDF output.
Hello GG,

That's an interesting story with a truly remarkable result.

I was able to reproduce your test results:
vi-solutions.de/forum-uploads/vf-1665-pa...escape-character.png

I use a special form to test all placeholder variations (especially placeholder options).
The screenshot shows a small excerpt of the form's result text.
The output text itself is much more extensive.

For some time now, Visforms Parameter Replacement is implemented identically across all application areas with regard to effect and functionality.

Therefore, the effect can also be observed already in the form result text.

We consider this a bug in Visforms and will adjust the behavior.
I created a development issue in the bug list:
Issue [VF-1665] Forum: Parameter Replacement: Fix the effect of the $ sign as an escape character for subsequent numbers in text fields

When we release the bug fix, you will be explicitly informed about the release here in the topic.
Thank you again for your contribution!

Kind regards, Ingmar

:idea: I recommend you the new and up-to-date documentation for Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 4.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).
Letzte Änderung: 12 Stunden 3 Minuten her von Administrator IV.

Mehr
6 Stunden 9 Minuten her #12119 von gggraphics
gggraphics antwortete auf "$" in User Input truncates PDF output.
Happy to be of some use!! I'm probably the only person to encounter this issue as very few people are going to have names like Jo$45hn.
I'm dealing with artists, so anything is possible. :)

GG

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum