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.

Wunsch: Checkboxen vor die Label (optional)

More
3 years 10 months ago - 3 years 10 months ago #6865 by Dirk67
Hallo,

als feature-Wunsch für die Zukunft habe ich noch,
dass man für die Feld-Typen 'checkbox' und 'multicheckbox' im Backend optional auswählen kann, dass die checkboxen vor den labels stehen,
also dass auch die html Erzeugung schon entspr. vertauscht ist:
jetzt:
Code:
<div class="visCSSclear "> <label class=".." id=".." for=" ">meinLabel1</label> <input id=".." name=".." value=".." class=".." type=".."> <br> <label class=".." id=".." for="..">meinLabel2</label> <input id=".." name=".." value=".." class=".." type=".."> <br> usw...
dann (optional im Backend wählbar):
Code:
<div class="visCSSclear "> <input id=".." name=".." value=".." class=".." type=".."> <label class=".." id=".." for=" ">meinLabel1</label> <br> <input id=".." name=".." value=".." class=".." type=".."> <label class=".." id=".." for="..">meinLabel2</label> <br> usw...

Ich habe das jetzt mit CSS realisiert, aber das ist irgendwie recht 'krampfig" zu machen insbesondere für responsive layout und wenn die labels breiter als der (Handy-) Viewport werden usw ...

This message contains confidential information

Wenn man das per Checkbox einfach im Backend wählen könnte wäre schon cool ;) ...
Last edit: 3 years 10 months ago by Dirk67.

More
3 years 10 months ago #6875 by Acemi
Hallo Dirk67, Ich finde die Idee auch sehr sinnvoll.

Wie sieht deine Lösung aus? Ich brauche auch für mein Formular, kann'st du hier teilen?

Gruß,
Acemi.

More
3 years 10 months ago #6876 by Administrator AV
Replied by Administrator AV on topic Wunsch: Checkboxen vor die Label (optional)
Hallo Zusammen,

wie Checkboxen konkrete gerendert werden (also wo die Box und wo das Label stehen) wird durch die Spezifikation des verwendeten Template-Frameworks vorgeben.

Manche Frameworks stellen die Box nach vorn, andere nach hinten. Kein Framework sieht vor, dass man die Position auswählen kann. (Anders als die Optionen "In Line" oder "Als Liste", die jedes Framework anbietet).

visForms liefert einfach nur, was das Framework vorschreibt, also die Framework-spezifische geforderte HTML Struktur. Deshalb wird es in visForms eine solche Option nicht geben.

Gruß,
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 :-).

More
3 years 10 months ago - 3 years 10 months ago #6877 by Dirk67
Replied by Dirk67 on topic Wunsch: Checkboxen vor die Label (optional)
meine Wunsch bezog sich eigentlich auf das Template "default layout" welches ich benutze (habe ich nicht dabei geschrieben, sorry),
also kein Template-Framework,
so dass man also auch nicht an irgend eine "Spezifikation des verwendeten Template-Frameworks" gebunden wäre ...


"...also die Framework-spezifische geforderte HTML Struktur..."
hast Du da mal eine Quelle für mich ?
Last edit: 3 years 10 months ago by Dirk67.

More
3 years 10 months ago #6878 by Administrator AV
Replied by Administrator AV on topic Wunsch: Checkboxen vor die Label (optional)
Hallo,

visForms unterstützt Bootstrap 2, 3, und 4, uikit2 und uikit2. Nach den jeweiligen Dokumentationen kannst du googlen.

Gruß,
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 :-).

More
3 years 10 months ago - 3 years 10 months ago #6879 by Dirk67
Replied by Dirk67 on topic Wunsch: Checkboxen vor die Label (optional)

meine Wunsch bezog sich eigentlich auf das Template "default layout" welches ich benutze (habe ich nicht dabei geschrieben, sorry),
also kein Template-Framework,
so dass man also auch nicht an irgend eine "Spezifikation des verwendeten Template-Frameworks" gebunden wäre ...:



hier ist übrigens ein Bootstrap 4 Beispiel formular (aus der Bootstrap 4 Dokumentation):
getbootstrap.com/docs/4.0/examples/checkout/
Code:
<div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" id="same-address"> <label class="custom-control-label" for="same-address">Shipping address is the same as my billing address</label> </div> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" id="save-info"> <label class="custom-control-label" for="save-info">Save this information for next time</label> </div>
Last edit: 3 years 10 months ago by Dirk67.

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum