Editing a simple (so far) form in Kentico 11. I am creating a drop-down. All I want to do is to have the value of each rendered option and the visible text of each option be different, like this: <option value="CatalogNumber">Product name</option> so that when I refer to the Value property of the drop-down I get the (in this case) CatalogNumber, but the user sees the product name. This is surely something people do every day, but I can not find anything in the doc, or on DevNet, explaining how to do it. Am I missing something so obvious that no one finds it necessary to mention?
<option value="CatalogNumber">Product name</option>
Found it here after another solid hour of searching (why is something so basic so hard to find?): https://stackoverflow.com/questions/43613188/macro-return-type-to-populate-drop-down-list-with-different-value-and-text-value
In many parts of the UI there are tooltips available telling you what is the expected value. For example screen shot from the drop down field definition. And/or when you see the question mark icon, you can hover-over or click it to get sometimes even more details and examples, screen shot.
Please, sign in to be able to submit a new answer.