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.

Wichtige Angaben für fast jede Frage:
V1: Welche Visforms-Version läuft?
V2: Welche Joomla-Version läuft?
V3: Welche PHP-Version läuft?

Hidden field populated with Javascript doesn't show data in email

Mehr
2 Jahre 2 Monate her - 2 Jahre 2 Monate her #9302 von Shaman
Good morning dear devs,

I have a hidden field in my form which I populate with text via JS once the page is loaded.
Now I want to include this field in the submitted form but it stays empty.
The field is filled out and can be read:

Code:
let jobtitlehidden = document.querySelector('[name*="jobtitlehidden"]') let urlhidden = document.querySelector('.jumbotron h1');         if (jobtitlehidden) {                 jobtitlehidden.innerHTML = urlhidden.innerHTML;         }


How to include this field in the email ?
Kind regards,
Claude
Letzte Änderung: 2 Jahre 2 Monate her von Shaman.

Mehr
2 Jahre 2 Monate her #9303 von Administrator IV
Hello Shaman,

here is a link on the subject:
developer.mozilla.org/en-US/docs/Web/HTML/Element/input/hidden

Found as the first entry of a Google search with 'html hidden not sent'.

Citation:
The <input> element's value attribute holds a string that contains the hidden data you want to include when the form is submitted to the server.

I think it will surely help you.

Kind regards, Ingmar

:idea: I recommend you the new and up-to-date documentation for Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 4.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).

Mehr
2 Jahre 2 Monate her - 2 Jahre 2 Monate her #9304 von Shaman
Thank you Ingmar,

Needed only a litte change, now it works: jobtitlehidden.value = urlhidden.innerHTML;

Thank you again,
Kind regards,
Claude
Letzte Änderung: 2 Jahre 2 Monate her von Shaman.

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum