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.

Dynamic configurable forms through hidden fields

Mehr
2 Jahre 6 Monate her #7637 von Blacksmith
Dynamic configurable forms through hidden fields wurde erstellt von Blacksmith
Hello
German text below
I have the following problem: I have complicated forms that serve their purpose quite well. But not each event we organize needs all the fields. So it would be nice if I could hide the unnecessary fields. At the moment I delete all the fields I don't need and - what's worse - I remove all the calculations based on them.
I tried the following:
- A field of type 'Select' is not suitable, because you can't hide it!
- A field of type 'Hidden' is also not suitable, because it cannot be used in the 'Conditional Field' conditions.
- An 'Unpublished' field of type 'Select' cannot be used either, because it must not be set to 'Unpublished' as long as it is referenced in a 'Conditional Field'.
If this functionality is possible in some other way, please let me know, I could not think of any other ideas!

I therefore have the following feature request for VisForms:  
It should be possible to create a field (hidden or visible) that serves as a 'switch'. This field could then be used to display or suppress a number of fields. The field should also be controllable via URL parameters so that the behavior becomes dynamically controllable.

Sometimes it would also be handy if a single field could be hidden, while its value would still be referenceable in the calculations. Why not simply give all fields a 'visible' property? 

I think that would already solve my problem completely.
---
Ich habe folgende Problemstellung: Ich habe komplizierte Formulare die Ihren Zweck ganz toll erfüllen. Aber nicht jeder Anlass, den wir veranstalten braucht alle Felder. Da wäre es schön, wenn ich die unnötigen Felder verbergen könnte. Zur Zeit lösche ich alle nicht benötigten Felder - was schlimmer ist - die darauf beruhenden Berechnungen
Ich habe folgendes versucht:
-    Ein Feld vom Typ 'Select' eignet sich nicht, weil man es nicht verstecken kann!
-    Ein Feld vom Typ 'Hidden' eignet sich auch nicht, weil es in den 'Conditional Field' Bedinungen nicht verwendet werden kann.
-    Ein 'Unpublished'-Feld vom Typ 'Select' kann auch nicht verwendet werden, weil es nicht auf 'Unpublished' gesetzt werden darf, solange es in einem 'Conditional Field' referenziert wird.
Wenn diese Funktionalität auch auf andere Weise möglich ist, lassen Sie es mich bitte wissen, mir sind keine weiteren Ideen eingefallen!

Ich habe darum folgenden Wunsch an VisForms:  
Es sollte sich ein Feld (versteckt oder sichtbar) anlegen lassen das als 'Schalter' dient. Dieses Feld könnte dann dazu dienen eine Reihe von Feldern anzuzeigen oder zu unterdrücken. Das Feld sollte sich auch über URL Paramter setzten lassen, damit das Verhalten dynamisch steurbar wird.

Manchmal wäre es auch praktisch wenn man ein einzelnes Feld verstecken könnte, sein Wert aber in den Berechnungen weiterhin referenziert werden könnte. Warum haben nicht einfach alle Felder eine Eigenschaft 'visible'? 

Ich glaube das würde meine Problemstellung bereits vollständig lösen.

Mehr
2 Jahre 6 Monate her #7638 von Administrator AV
Administrator AV antwortete auf Dynamic configurable forms through hidden fields
Hi Blacksmith,
I'm sorry for not answering earlier, but at the moment we are very busy with finalizing Visforms for Joomla 4.
You could just use some custom css which hides the listbox, that would basically be the same as a 'visible' property.
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
2 Jahre 6 Monate her #7639 von Blacksmith
Hello Aicha

Thanks for the tip. I am not a CSS master, but so far I have managed almost everything with trial and error... ;.)  Surely: first finish the version for Joomla 4, before you add something of the category desirable - I am very grateful for this because I, at some point, get into trouble as PHP 7.3 is end of life!

I have currently helped myself in such a way that I used a very rarely used input condition as 'Conditional Field' (that way the Select-field is mostly hidden) and added an explanation to it with a 'Custom Text'. Far from perfect, but in my case reasonable! Will surely change it to the CSS later.

It would just be nice if we could systematically hide every field type with a checkbox (well, this seems simple to patch with the CSS now) and actually I would love to see a 'Read only' property for each filed type as well - for parameters that are filled in by means of  URL parameters... :-)
 

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum