I would like to select country in dropdown and display a code and flag of country dynamically. How can I create it in JS?
Thanks for the Help
Yerlan
I would like to select country in dropdown and display a code and flag of country dynamically. How can I create it in JS?
Thanks for the Help
Yerlan
Hello @Yerlan,
Welcome to Plumsail Community!
Please learn how to work with a dropdown field using JavaScript here:
https://plumsail.com/docs/forms-web/designer/fields/dropdown.html
Thanks mnikitina!
I read it early but js code in js editor no access to field of form and don't work dinamically with fields. I did it as writed in examples, but no reaction.
fd.field('DropDown2').title
//sets the field's title
fd.field('DropDown2').title = 'Country'
fd.field('DropDown2').placeholder = "Select country";