0

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?

Don R
  • 573
  • 4
  • 10
  • Found it here after another hour of searching: https://stackoverflow.com/questions/43613188/macro-return-type-to-populate-drop-down-list-with-different-value-and-text-value – Don R Nov 18 '22 at 20:55

0 Answers0