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.

Conditional fields & animation

Mehr
1 Jahr 10 Monate her #8929 von Oleg
Conditional fields & animation wurde erstellt von Oleg
Hi,
In default when we select an option in restricting field, then conditional field appears "instantly".
Is it possible to make animation for conditional field appearance?

Mehr
1 Jahr 10 Monate her - 1 Jahr 10 Monate her #8931 von Administrator IV
Administrator IV antwortete auf Conditional fields & animation
Hello Oleg,

That's a pretty idea!
You can easily achieve this with some custom CSS in Visforms.

The HTML of a conditional field with field ID=294 is:
Code:
<div class="conditional field294">  .. </div>

With this CSS you give all conditional fields a simple so-called 'fadeIn':
A 'fadeIn' consists of a panning movement and transparency.
Code:
.conditional {     animation-name: fadeIn;     animation-duration: 2s; }

With this CSS you give all conditional fields a self-defined animation:
The animation is defined with a CSS '@keyframes' rule, or the so-called 'animation code'.
Code:
@keyframes example {     from {opacity: 0;}     to {opacity: 1;} } .conditional {     animation-name: example;     animation-duration: 2s; }

You can also set individual animations for individual fields:
Example with 3 conditional fields with the IDs 292,293, 294 and 3 different animations.
Code:
@keyframes example1 {     from {background-color: red;}     to {background-color: yellow;} } @keyframes example2 {     from {opacity: 0;}     to {opacity: 1;} } .conditional.field292 {     animation-name: example1;     animation-duration: 2s; } .conditional.field293 {     animation-name: example2;     animation-duration: 2s; } .conditional.field294 {     animation-name: fadeIn;     animation-duration: 2s; }


Create custom CSS files with Visforms:
You can create custom CSS files which will be loaded automatically into your form.

To do this, simply go to the “Components->Visforms” menu in the administration and then on the “Edit CSS” button on the Visforms Dashboard. You get to a view where, like in the Joomla! UI template component, where you can edit existing CSS files, create new CSS files, upload and rename files.

The integration of additional own CSS files takes place via a simple naming convention.
Note: The files must have the character string "custom" in the file name.
Otherwise, the letters a-z, A-Z and the special characters - (minus) and _ (underscore) are permitted in the file name.

Visforms uses weak CSS selectors to blend in as well as possible to adapt to the design of the UI template.
All HTML parts of Visforms are easily addressable with rather simple CSS selectors.

Individual settings with regard to working with custom CSS are possible at various places:
- field configuration: tab 'Advanced' in section 'Layout' (especially parameters 'CSS Class For Label' and 'CSS Class For Field'),
- form configuration: tab 'Advanced' in section 'Layout' (especially parameter 'CSS Class'),
- Visforms Dashboard button 'Edit CSS': add and edit own CSS files.

Read more on this topic in our documentation:
docs.joomla-4.visforms.vi-solutions.de/e...orm-layout-with-css/

Learn more on animations at w3schools:
www.w3schools.com/css/css3_animations.asp

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 :-).
Letzte Änderung: 1 Jahr 10 Monate her von Administrator IV.

Mehr
1 Jahr 10 Monate her #8937 von Oleg
Oleg antwortete auf Conditional fields & animation
Hello Ingmar
Thank you for the patient explanation!
Sincerely, Oleg

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum