Joomla 5 Mitteilung

Wir freuen uns mitteilen zu können, dass seit dem 29. Januar 2024 alle unsere Joomla Erweiterungen mit Joomla 5 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 nun auch eine eigenständige Dokumentation für Visforms für Joomla 4 und für Visforms auf Joomla 5

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.

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

Aufgrund von Feiertagen und Urlaub ist bei Anfragen im Forum in der Zeit vom 20. Dezember 2024 bis zum 8.Januar 2025 mit verlängerten Antwortzeiten zu rechnen.

add sequence number

Mehr
7 Jahre 11 Monate her #3866 von vmurphy
add sequence number wurde erstellt von vmurphy
Firstly thanks for such an excellent component, very well built and extremely useful. I'm trying to use visforms for a return material authorization form. Part of the requirement is to assign a sequential number to each submission. I need some flexibility in the makeup of the number (e.g. prefix letters, starting sequence number, suffix letters). I tried using the hidden field with a unique id but it really does not meet the need. Then I thought about customizing the lib/field/hidden.php to get the required functionality but not sure that's a file I can change/override and preserve upgrades etc. Lastly I wondered if the calculate plugin would allow for this kind of functionality, I suspect not, since I need to store the sequence number somewhere and increment on each submission. Any ideas or suggestions much appreciated.

Vince.

Mehr
7 Jahre 11 Monate her #3867 von Administrator AV
Administrator AV antwortete auf add sequence number
Hi Vince,

you had certainly read, that we were closed till today. So I read your post just today.
What you want is not possible with Visforms out of the box.

Basically you can create overrides in your template for each file that is located in the components/com_visforms/layouts folder. ( www.vi-solutions.de/en/documentations/vi...layout-with-override , sorry the documentation is not totally up to date but the basics are correct.). But not the lib/field.... file.

These overrides of files located in components/com_visforms/layouts will not be touched by Visforms updates and I try to avoid changes to these files in the components/com_visforms/layouts folder. But when I develop new features it is sometimes necessary to make changes to the layout files, too. This would mean, that you have to adapt your overrides, then.

Field type calculation will not work for this, it is really for calculating.

Regards,
Aicha

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

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

Mehr
7 Jahre 11 Monate her #3868 von vmurphy
vmurphy antwortete auf add sequence number
No problem. Thanks for the reply. I managed to create a workaround using database create trigger on the visform_1 table to manipulate the default value on the hidden field. It's a bit klugy but it works and avoids custom code in the component. Thanks again for an excellent form component.

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum