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.

Date Time field

Mehr
8 Jahre 11 Monate her #1559 von tayling
Date Time field wurde erstellt von tayling
Hi
I am workign on a rental site where I need my forms to have a pickup and dropoff date - is there a way I can create a date / time field or a time field?
Thanks for your help
Regards

Tony Ayling

Mehr
8 Jahre 11 Monate her #1560 von Administrator AV
Administrator AV antwortete auf Date Time field
Hi Tony,

sorry put at the moment Visforms support only date fields not date/time or time.
The only possibility would be to create a text field, where the user inserts the time manually, and to write a custom validation for this field that checks for valide time format.

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
4 Jahre 9 Monate her #6248 von rusasadmins
rusasadmins antwortete auf Date Time field
Can you give an example on how you would do a VALIDATION of a time format in a text field?

Please let us know:
1. text Field
- how to 'force' it to be entered as hh:mm

2. number / calculation field
- how to CONVERT that text field into number field to then use in a calculation

Mehr
4 Jahre 9 Monate her #6249 von Administrator AV
Administrator AV antwortete auf Date Time field
Hi,

1. a Regex-Validation for hh:mm would be
Code:
^(0[0-9]|1[0-9]|2[0-3]|[0-9]):[0-5][0-9]$

See: stackoverflow.com/questions/7536755/regu...ing-hhmm-time-format

2. But, due to the very save way the calculation is implemented in visForms, it is not possible to CONVERT this value into an integer, so it can be used in a calculation.

This is, because the caluclation, calculates completely separate on the sever (with php) and in the browser (with javascript) and although it would be possible to add javascript for the browser part, it is not possible to modify the server side php code, which is located in a not overwrittable section.

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
4 Jahre 9 Monate her #6250 von rusasadmins
rusasadmins antwortete auf Date Time field
Thank you so much for your response.

What is the likelyhood that you would add TIME as a field time to your fields? I see you have done it with dates, so you can add days, etc.

thanks,

Mehr
4 Jahre 9 Monate her #6251 von Administrator AV
Administrator AV antwortete auf Date Time field
Hi,

sorry, but at the moment the likelyhood is very low.

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

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum