Portal Engine
Version 3.x > Portal Engine > Transformation for fieldtype drop-down list View modes: 
User avatar
Member
Member
Gabriëlle - 12/13/2008 3:49:21 PM
   
Transformation for fieldtype drop-down list
Hello there,

I would like to add a transformation that when the public user selects a value from the dropdownlist, below a text appears according to the value that is selected.

For example: In my BizForm webpart, I've added a dropdown fieldtype which represents a division. When I click a value, nothing happens.

What I would like is when selecting a division, the user gets a small list of contacts with name and telephonenumber from the database.

How can I accomplish that? I saw that the Corporate Site also has a transformation for this fieldtype in the forumsection; the view modes. But I can't make any sense of it to implement such feature to my webpart.

Thanks in advance!

Gabriëlle


User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/16/2008 3:38:00 AM
   
RE:Transformation for fieldtype drop-down list
Hi,

You can achieve this by developing custom form control (http://www.kentico.com/docs/devguide/developing_form_controls.htm) with AJAX tools - e.g. update panel. So, when the index is changed in the drop down list, using AJAX you can force to display some message.

Best Regards,
Juraj Ondrus