Using K# transformations in form fields

Have you ever struggled with transforming the selected value of a drop down list into a human readable form? The combination of K# and Kentico forms allows you to just do that without even breaking a sweat.

Let me show how it works via this quick example (which doesn't make sense in real world scenarios but was way fun to build):
  • Step 1: Create a new online form.
  • Step 2: Add some fields like you are used to.
  • Step 3: Create one field (i.e. MacroField) and configure it as follows:
K# in form field

And behold the amazing result:

K# power animation
FYI: In my example the name field has a depending field and the MacroField depends on another field.

Happy hacking! :)