Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > radiobuttons child options View modes: 
User avatar
Member
Member
Art. - 2/21/2014 2:10:22 AM
   
radiobuttons child options
Hello,

Is there any way to create childoptions for radiobuttons? For example, i have T-short size M with colors black and blue and same T-short size L with other colors.

And when i would choose size opens another productoption with right available color

Best regards

User avatar
Kentico Consulting
Kentico Consulting
Kentico_RichardS - 2/21/2014 2:46:49 AM
   
RE:radiobuttons child options
Hi,

Thank you for your message.

Yeah, this is surely possible. It however depends how you would like to approach this. You could create dependent fields which would mean that you would hide/show certain fields based on their condition. So if e.g. if you had a drop down form control and selected size M you would show colors another field with given available colors.

This has a disadvantage of having multiple fields -> each for any combination of colors which might not be good for you.

Another option is a little more advanced and that is to create your own form control and along with dependancy you would load appropriate colors.

Some reference to dependancy fields is here -> http://devnet.kentico.com/articles/using-dependency-fields-in-forms

And developing form controls -> http://devnet.kentico.com/docs/devguide/developing_form_controls.htm

Also please note that this forums are obsolete so next time please use Question and Answers section, thank you.

Kind regards,
Richard Sustek