First, create a "computed for display" text-field.
htmlattrs:="onclick=\"alert(this.value)\" style=\"color:red\" class=\"country\"";
choices could also be a dblookup/dbcolumn. Remember to implode it, to allow for a fixed number of settings. Example: @Implode(@DbColumn("";"";"view";2);";").
If you have multiple similar non-multivalue fields, you'd probably just need html attributes, and maybe default value. Seeing as multi-value fields often have more settings, I'll focus on these.
Field properties -> Choices ("Use formula for choices"): @Explode(srcCountries;";")
Default value: srcCountries
HTML Attributes: srcCountries
In the designer
In the client (border-style=none set manually before copy/paste)
On the web
Onlick (from the htmlattrs in the computed for display field)
REMEMBER! Describe the cfd-field containing the settings, so that you understand it the next time you're working on the form..