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?

Select field not working properly

More
10 years 1 month ago #886 by felibrain
Select field not working properly was created by felibrain
Hi, I am using visform and i am happy with it. However I recently found that the select field is not emailing properly. For instance, I added a pair of Value/Label like this.

Title||Mr.
Title||Mrs.
Title||Miss.


When a person selects Mr. it will send to my email as:
Title: Title.
Instead of Title: Mr.

Maybe there is something I am not doing right?
Thanks.

More
10 years 1 month ago #888 by Administrator AV
Replied by Administrator AV on topic Select field not working properly
Hi,

actually I think you are doing something not right.

When you create a select field you have a field label, that is displayed in front of the listbox. This field label comes from the fields "label" parameter which is at the top of the field edit page. This is the same label parameter which is used for every field no matter which field type you select for the field. This label parameter is displayed in the email for every field in front of the :
So this is not the "Label" you inserted in the Value/Label pair as you might have thought.

The value/Label Pairs are used to create the items of the listbox itself. Technically the label is displayed in the listbox in order that the user as reads a text which they can easily understand. The value is the value that is submitted when the user submits the form. So you have to make sure, that you have not duplicate entries as value as well as as label. (You have 3 time the value Title). I'm not a hundred percent sure at the moment, but I think it is the value of the value/label pair, that is displayed in the email after the :
That is why you read Title: Title

You could solve the problem by creating pairs like
Mister||Mr.
or
Mr||Mr.

Kind 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 :-).
The following user(s) said Thank You: felibrain

More
10 years 1 month ago #891 by felibrain
Replied by felibrain on topic Select field not working properly
Wow! No one does it better than you. You are absolutely correct and your suggestion worked.
Thank you sir.

More
10 years 1 month ago #893 by Administrator AV
Replied by Administrator AV on topic Select field not working properly
You're wellcome.

: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