Expand text box based on whether a Yes value exists in any of a list of drop down boxes

Hi,

I want to do something like below, but not quite sure on the code.

So if any of text 1,2,3,4,5,6 has a yes value, then show the boxes…

Any ideas?

$w.onReady( function () {
if ($w(‘#text1’).value === ‘Yes’);
or($w(‘#text2’).value === ‘Yes’),
or($w(‘#text3’).value === ‘Yes’),
or($w(‘#text4’).value === ‘Yes’),
or($w(‘#text5’).value === ‘Yes’),
or($w(‘#tex6’).value === ‘Yes’),

$w(‘#box1’).expand(), $w(‘#box2’).expand(), $w(‘#box3’).expand(), $w(‘#box4’).expand();

Just search for previous forum posts and you will find your answer…
https://www.wix.com/corvid/forum/community-discussion/hide-user-input-box-until-an-option-is-selected-in-dropdown