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?

Max Submissions per $user id

More
1 year 7 months ago #9136 by Administrator IV
Replied by Administrator IV on topic Max Submissions per $user id
Hello Nick,

Thank you for the detailed description of how you imagined your solution.
And thank you for your specific suggestion.

It is not yet entirely clear how we will best and ultimately implement the innovations.

Two points are obviously affected, which cannot be seen completely separately from each other:
Area 1 - 'Max once' with message or 'Max once' with message and edit link
Area 2 - 'Max Submissions' per form or per registered user (plus the option 'Display Edit Link - Yes/No')

Regarding area 1:
There is already the above issue (775) for this.
This is pretty much what Heinz described in his post.
Thanks to Heinz for the link to his original post.

We also consider 3 alternative reactions (instead of displaying the form) to be sensible here:
- Notification to the user
- Message to the user with edit link
- Redirect URL

Regarding area 2:
I have created a separate issue for the development wish list (777).
One reason was to be able to keep the two points project-technically separate at this point.
Issue [VF-777] Forum: Enhance Feature: Max Submissions: count per registered user

We now have to think a little more about whether we can possibly combine the two points and implement it optimally.
Suggestions and ideas are always very welcome.

Kind regards, Ingmar

: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 :-).
The following user(s) said Thank You: MaliRaj

More
1 year 7 months ago #9137 by Administrator IV
Replied by Administrator IV on topic Max Submissions per $user id
Dear Nick,

there is a pretty simple workaround for you.
At least for the meantime, until the feature is released.

You just need to add some JavaScript to the form.

Step 1: Configure 'Display an edit link instead of the form'.
docs.joomla-4.visforms.vi-solutions.de/e...ink-instead-of-form/

Step 2. Add a (invisible) site module to the page with the form.
This is described in the documentation.
Load JavaScript via a custom module:
docs.joomla-4.visforms.vi-solutions.de/e...d-script-own-module/

Step 3: Paste the following small JavaScript into the module.
Code:
<script>      jQuery(document).ready(function() {          // console.log('module started');          jQuery('#visformcontainer.visforms-form:not(.visforms)').empty().append('<p>You have submitted an entry, if your require to make changes please email.</p>');      }); </script>
I tested the Code with the UI framework 'Boostrap 5'.

Step 4: Done.
The user gets his page with the edit link.
The edit link is completely removed from the page along with the message text.
Instead, your new text from the 'append()' call will be inserted.

Kind regards, Ingmar

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

More
1 year 4 months ago - 1 year 4 months ago #9556 by Administrator IV
Replied by Administrator IV on topic Max Submissions per $user id
Hello Nick,

the new feature is included in the latest release from 22.05.2023 for Joomla 4:
Visforms 4.3.0
docs.joomla-4.visforms.vi-solutions.de/e...dates/version-4-3-0/
Visforms Subscription 4.3.0
docs.joomla-4.visforms.vi-solutions.de/e...s/sub-version-4-3-0/

The documentation has been changed accordingly in the following section.
Maximum one form submission:
docs.joomla-4.visforms.vi-solutions.de/e...ink-instead-of-form/

Kind regards, Ingmar

: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 :-).
Last edit: 1 year 4 months ago by Administrator IV.
The following user(s) said Thank You: MaliRaj

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum