Site structure
Version 6.x > Site structure > Bizform control id View modes: 
User avatar
Member
Member
jacbar - 5/16/2012 3:41:13 AM
   
Bizform control id
Hi,
is there any macro, to get control id for example :

plc_lt_zoneMainContent_pageplaceholder_pageplaceholder_lt_zoneRight_pageplaceholder_pageplaceholder_lt_zoneMain_Survey_viewBiz_ctl00_Question5

I need do write custom java script code for bizforms, and placed bizforms in the two separate places, so generated by kentico ids are different

User avatar
Member
Member
kentico_michal - 5/16/2012 7:27:53 AM
   
RE:Bizform control id
Hi,

You can assign a different CSS class to each BizForm field (Control CSS class property) that you can later use to access the control using JavaScript.

Best regards,
Michal Legen

User avatar
Member
Member
jacbar - 5/18/2012 5:22:53 AM
   
RE:Bizform control id
I can access only to whole question, but I need to develop js like : if user choose 3rd option in multiple chioce question, block others, etc. Creating scripts in this way will be very time consuming ;/

User avatar
Member
Member
kentico_michal - 5/20/2012 7:48:06 AM
   
RE:Bizform control id
Hi,

In that case, you could create a custom form control and display options with css classed that would allow you to access the controls on the client side in more convenient way: Developing form controls.

Best regards,
Michal Legen