Select label|value not working
-
Hi all!
I’m trying to setup a multilanguage website and have a form with a ‘select your country’ dropdown:
https://snipboard.io/btLkIR.jpg
I want to display a label and then have another value in the option field displayed in the frontend. This is my current Code:[select* country default:get “Sélectionner un pays:|” “Argentine|argentina” “Australie|australia” “Brésil|brazil” “Chili|chile” “Colombie|colombia” “Tchéquie|czech” “Égypte|egypt” “Allemagne|germany” “Inde|india” “Indonésie|indonesia” “Kenya|kenya” “Corée|korea” “Malaisie|malaysia” “Mexique|mexico” “Maroc|morocco” “Pérou|peru” “Philippines|philippines” “Portugal|portugal” “Arabie Saoudite|saudi arabia” “Singapour|singapore” “Afrique du Sud|south africa” “Thaïlande|thailand” “Tunisie|tunisia” “Émirats Arabes Unis|uae” “Vietnam|vietnam”]
And this is how it is displayed in the frontend: https://snipboard.io/PYDxCo.jpg
As you can see, the label and value in the frontend are the same. Why is this not working?
The topic ‘Select label|value not working’ is closed to new replies.