Inspiring
February 7, 2025
Answered
Script to expand dropdown
- February 7, 2025
- 1 reply
- 682 views
Hi. I'm looking for help with a script to expand a dropdrown to show all options when the value of another cell is greater than 0. Can someone help with this? Thanks
var comp = this.getField("text").value;
var ins = this.getField("dropdown").value;
if(comp > 0 && ins == "--"){
event.target.fillColor = color.red;
// enter code to expand dropdown here
}
else{
event.target.fillColor = color.transparent;
}
