Hey Everyone! is it possible to change the description of a child item based on the selection of options in a matrix, similar to how an image changes when an option is selected.
s
Steve Goldberg
04/25/2024, 9:37 AM
Yes. It would probably be entirely possible with the extensibility layer too.
j
Jahangir Bin Tayyab Hussain
04/25/2024, 9:42 AM
How so?
s
Steve Goldberg
04/25/2024, 10:51 AM
• The description can be added to the fieldset
• Use afterOptionSelect to listen for when the user has made a choice
• If the choice maps to one of your new fields, grab the data you want from the model or use one of the PDP methods
• Either change the HTML of area you want with jQuery, or add/destroy views using addChildView() or removeChildView()