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 eigenständige Dokumentationen Visforms Joomla 4, Visforms Joomla 5 und Visforms Joomla 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?

Update a field value on form submission

Mehr
2 Tage 4 Stunden her - 2 Tage 3 Stunden her #12502 von NickPovey
Update a field value on form submission wurde erstellt von NickPovey
Visforms 5.6.3
Joomla 5.4.8
PHP 8.4.24

I have a field "Tally Number" which is currently generated via a SQL query and incremented by one for each time a completed form is submitted. Thus generating a unique sequential number for each form submission starting at 1. All works well until multiple forms are simultaneously opened by different users. This is because the tally number is calculated when the form is opened, but only incremented when the form is submitted. Thus forms opened at the same time get the same Tally Number. Not being a programmer my question is two fold. Can a field be made to calculate only on submission? Or, maybe there is a better way to achieve what I need?
And just for the record VisForms has been simply fantastic for us over many years now in helping us to run our annual sailing event.
Thank you. Nick
Letzte Änderung: 2 Tage 3 Stunden her von NickPovey.

Mehr
1 Tag 7 Stunden her #12506 von Administrator AV
Administrator AV antwortete auf Update a field value on form submission
Hi Nick,

We are happy to hear, that Visforms works fantastically for your!

There is a field configuration option 'Unique Values Only'.
Field Configuration >> Baisc Settings >> Validation Settings

This option enforce that within records submitted for a form, each user input in this field is unique.
The validation is performed on the server site, directly when the record is stored in the data base.
If there already exists a record with the same value, the form will be redisplayed to the user who came second.

This feature prevents dublicate tally numbers.
You might want to add a usefull php validation error message.
Field Configuration >> General Settings >>'Help-text and Error Messages >> Custom error message (php)

Kind Regards and good luck with your sailing event,
Aicha
 

:idea: I recommend you the new and up-to-date documentation for Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/en/docs/
Please ask only 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/docs/
Bitte immer nur 1 Frage pro Thema stellen :-).

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum