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.

Limit data displayed to only the logged in user

Mehr
9 Jahre 9 Monate her #1454 von kalliOB
Hi there,

I have setup a form and have the data displaying using the Menu item Visforms > Formdata.

I was wondering if it was possible to limit the data displayed to only show the logged in user's submissions?

Thanks,
Kalli

Mehr
9 Jahre 9 Monate her #1455 von Administrator AV
Administrator AV antwortete auf Limit data displayed to only the logged in user
Hi,

if you are on Joomla! 3.3.3 or 3.4 and use the latest Visforms Version (3.4.2) there is a form option for this (tab Dataview in Frontend in the form configuration). Make sure that "Dataview Access" is set to the same access level as the menu item in order to avoid error messages.

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
9 Jahre 9 Monate her #1458 von kalliOB
Hi,

Thanks for the reply.

I have checked the Dataview in Frontend tab on the Form properties and it's set to Registered. I then checked the Formdata menu item and it's also set to Registered.

Here's my scenario:
I have two users of my website - User1 and User2.
User 1 has submitted form A, B and C.
User 2 has submitted form D.
Currently, when I look at the Formdata page while logged in as User 1, I can see A, B, C and D. When I look at the Formdata page while logged in as User 2, I can see A, B, C and D.

I want it so that User 1 can only see A, B and C. User 2 can only see D.

Are my settings incorrect?

Thanks,
Kalli

Mehr
9 Jahre 9 Monate her #1459 von Administrator AV
Administrator AV antwortete auf Limit data displayed to only the logged in user
Hi,

ok, that was a misunderstanding. Your settings are correct, but what you want to achieve is not possible with Visforms. There is no "connection" between a logged in user and there submission.

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
9 Jahre 9 Monate her #1460 von kalliOB
OK thanks for your prompt help Aicha.

Mehr
9 Jahre 9 Monate her #1461 von Administrator AV
Administrator AV antwortete auf Limit data displayed to only the logged in user
Hi again,

sometimes I'm a bit thickheaded.
You may have noticed, that I have developed some custom plugins for Visforms ( www.vi-solutions.de/en/useful-visforms-extensions ) just do perform such special features as you are looking for.

The data view plugin www.vi-solutions.de/en/visforms-plugin-d...in-content-data-view already allows you to select record sets according to user input values, although it is not totally up to the task you want yet, but I could adapt it easily and I already had in mind to implement that sooner or later.

This is how it would work:

So if you create a form field of type text (lets name it "selectusername"), use the logged in user name as default for this field, set the field to readonly, so that the user cannot change the value and set the form's access level to "registered" this could be the input side of the feature.

I would have to make a small change to the plugin, so that it would accept a parameter value like [_username] for the record set selection. This parameter value would trigger, that the plugin checks for the user name of the logged in user and only displays recordsets which have this value set in the field "selectusername".

So if you are interested in the feature and willing to buy the plugin, just let me know. I could make the changes very soon then and let you know, when it's available. Please not, that the plugin, as it is, does not to the job, yet!

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

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum