API Questions on Kentico API.
Version 6.x > API > Event handling in alternative forms for registration View modes: 
User avatar
Member
Member
anytimesampath-gmail - 10/17/2012 1:23:29 AM
   
Event handling in alternative forms for registration
Hi,

I have created an alternative form for custom registration webpart of CMS_Users System table. I have a requirement that on selection of an option in dropdownlist, some other dependent text field has to be displayed. Is this possible in alternative forms?

Example : I have a dropdown list asking the gender. If male, I have to display the next field else not.

Please help me out.

Thanks,
Sampath

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 10/24/2012 10:41:03 PM
   
RE:Event handling in alternative forms for registration
Hi,

Generally it's best to create a custom Form control - see Developing form controls.

Such developed control would consist of two individual controls.

Regards,
Zdenek