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.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

in view form the order field doesnt work

More
7 years 5 months ago #4472 by emi65
Hi
I'm using Joomla 3.7.2 and VisForm 3.9

I define a field as a numeric but when I order the data by this field the order is incorret

the numbers 1 , 2 , 3 , 4 ...... , 10 are ordered as
1
10
2
3
4

Regars
Emilio

More
7 years 5 months ago #4474 by Administrator AV
Replied by Administrator AV on topic in view form the order field doesnt work
Hi,

thanks for the information. I will check into this.

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

More
7 years 5 months ago #4481 by Administrator AV
Replied by Administrator AV on topic in view form the order field doesnt work
Hi,

I checked into this.
Your observation is correct but because of the way Visforms is designed and supposed to work it is not possible to change this savely.

The problem is, that Visforms is not very restrictive about field types. You can always change a field of type "number" into a field of type "text". Further on fields of type number can be left empty. So even if a field is of type number, this does not naturally mean that there is always a numeric value stored for such a field in the database. Therefore it is not possible to order stored inputs numerically, because there are lots of situations where assuming there is always a numeric value for such a field would lead to errors.

Field types actually means a HTML form field type but not a database field type. For people who just want to have forms and who wants to be able to change there forms flexibly this is perfect. As this is an important feature for a flexible form component, which I do not want to change, I cannot modify the code so that values of number fields are ordered numerically.

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

More
7 years 2 months ago #4672 by Administrator AV
Replied by Administrator AV on topic in view form the order field doesnt work
Hi,

a fix for this issue will be released with the next Visforms update.

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

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum