Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Disabling biz form fields View modes: 
User avatar
Member
Member
ryans-tushaus - 6/11/2013 4:15:02 AM
   
Disabling biz form fields
Is there a simple way to disable a biz form control? I would like the form in CMS desk to look very similar to the form that a customer fills in but I would like to make many of the fields disabled/read-only.

User avatar
Kentico Support
Kentico Support
kentico_janh - 6/11/2013 4:24:20 AM
   
RE:Disabling biz form fields
Hello,

To set this dynamically for already created fields, you would need to upgrade to version 7 (ore develop your own form control). However if you just need to set the field to be not editable, you can select its Control form property as Label.

Best regards,
Jan Hermann

User avatar
Member
Member
ryans-tushaus - 6/11/2013 4:52:46 AM
   
RE:Disabling biz form fields
Hi,

Upgrading is not an option and labels for the data would not distinguish the data from the existing field labels so I guess I'll create my own form controls.

Thanks,
Ryan

User avatar
Kentico Support
Kentico Support
kentico_janh - 6/11/2013 9:13:49 AM
   
RE:Disabling biz form fields
Hello,

Then yes, below is a description how to develop a form control:

Developing form controls

Best regards,
Jan Hermann

User avatar
Member
Member
ryans-tushaus - 6/13/2013 12:27:42 AM
   
RE:Disabling biz form fields
Hi,

Yes, I had already researched how to solve the problem by creating custom form controls but was hoping for a simpler solution. I have now created the custom controls. Problem solved. I'm glad this has been improved in version 7.

Thanks,
Ryan