Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Custom form control with options - similar to multiple choice vertical field type View modes: 
User avatar
Member
Member
joeh42 - 5/4/2011 3:47:36 PM
   
Custom form control with options - similar to multiple choice vertical field type
Hello,

I developed my own custom form control, which works similar to the multiple choice vertical field type.

However, I do not know see how to add properties that can be customized through the site manager. In example, I want to be able to go into Site Manager > Development > System Tables > [table that contains the field > [new field], and select my form control as the field type. I've been able to do this thus far.

How can I add custom properties to this? I.e., the mulitple choice field selector allows the developers to specify options in a text area. They can also specify the repeat direction. How can I expose my own custom drop down lists and text areas like this when administrators go to add my custom form control?

Thanks,
Joe Hoppe

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 5/5/2011 5:33:18 AM
   
RE:Custom form control with options - similar to multiple choice vertical field type
Hello Joe,


regrettably, the current version does not support the properties of custom form controls. It will be available in the version 6.0 (First look at Kentico CMS).

Nowadays, you would need to modify FieldEditor control, but this would require a lot of customization (~\CMSAdminControls\Class\FieldEditor.ascx.cs) and we do not recommend this.


Best regards,
Helena Grulichova

User avatar
Member
Member
joeh42 - 5/5/2011 10:39:17 AM
   
RE:Custom form control with options - similar to multiple choice vertical field type
Thank you for the quick response!