How to hide radio button using catalog script builder when a condition is met?

MalikB
Tera Contributor

Hello i was trying to make a condition when the user choose an item in catalog eg: model of laptop the RAM choose show by default one value and hide the other choices 

3 REPLIES 3

Zach Koch
Giga Sage
Giga Sage

What is the purpose of having radio buttons vs something like a select box, especially if you are wanting to hide unselected ones?

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

MalikB
Tera Contributor

I wanted juste to exercise and try some scripts to see if I can hide multiple choices like laptop type is chosen hide other choices like memory of laptop 16 and 8 GB and by default show 32GB I want to see if it possible to do so using catalog scripts

With radio buttons, you can't hide particular ones unless they are totally separate variables. When they are part of the same variable, if you hide it, the entire variable, including ALL radio buttons that are in that variable will be hidden. You could hide other variables based on the radio choice, however, just not radio choices within the same variable.

 

 

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!