Score:0

Create address element for webform to output country code

om flag

I'd like to create a field using webform that accepts a country but outputs the country code.

I'm guessing one path forward is to find the handler used by contrib and extend it? Or is that functionality already in the plugin and hiding in plain sight?

Score:1
om flag

Pretty simple - for Basic address, click edit, then uncheck everything but "country" and select Country codes enter image description here

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.