samani
Member
hi
i have a simple dropdown element that has some velue/lable such as 1/A 2/B 3/C ....
i want get A or B or.... infact i want get label but it is return only value
i use these syntax :
but in both syntax i get value of that dropdown element such as 1 or 2 ...
how to get label of dropdown selected?
i use these in php form plugin
i have a simple dropdown element that has some velue/lable such as 1/A 2/B 3/C ....
i want get A or B or.... infact i want get label but it is return only value
i use these syntax :
Code:
$formModel->getElementData('registration___city');
'{registration___city}'
how to get label of dropdown selected?
i use these in php form plugin