Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

prevent duplicate entry

More
8 years 4 months ago #3276 by peterspie
prevent duplicate entry was created by peterspie
Hello, I was looking for a new form for my website.
And I was wondering: This form can have Conditional Form Fields, that's great. I need it.
BUT, what I also need is the following: Someone fills in their name, street and number, and if available an extra addition. (These are four fields) (Peter, landstrasse, 1, A)
The system has to check if this combination of street and number and addition are already in the database.
I need to prevent then the entry, and a message has to show that says this entry is already in our database.

Is this possible with this form? Maybe with an extra extension?

Regards, Peter

More
8 years 4 months ago #3279 by Administrator AV
Replied by Administrator AV on topic prevent duplicate entry
Hi Peter,

there is a field option "unique values only" in the field configuration tab "advanced". But this does only check that no duplicate values are added for this field. To check for a combination from different fields is not possible with Visforms. If one field has a duplicate value submitting the form is rejected. So this will not work with your scenario. This option was meant to be used for fields which usually are specific (like email address...).

There is also an extension "delay double registration" for Visforms which will check, that the form is not send more than once from the same IP address during a time span which you can set in the extension, but I thinks that is not, what you are looking for, either.

Nevertheless, maybe, having this additional information, you can figure a configuration that works for you.

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 :-).

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum