I’ve read other posts on this subject, but still having problems. If I add 2 dropdown choices I can get 2 state boxes to change. If I add a 3rd it stops working.
I have 10 dropdown choice, with unique values and 10 state boxes with ID’s.
Thanks…
I’ve read other posts on this subject, but still having problems. If I add 2 dropdown choices I can get 2 state boxes to change. If I add a 3rd it stops working.
I have 10 dropdown choice, with unique values and 10 state boxes with ID’s.
Thanks…
Where is your code ?
Hi…Code below.
$w.onReady(function()=>{
$w(“#CLdropdown”).onChange(() => {
let selectedValue = $w(‘#CLdropdown’).value = “CL8000D”;
$w(‘#CLStatebox’).changeState(“#CL8000”);
} );
$w(“#CLdropdown”).onChange(() => {
let selectedValue = $w(‘#CLdropdown’).value = “CL8062D”;
$w(‘#CLStatebox’).changeState(“#CL8062”);
$w.onReady(function()=>{
$w("#CLdropdown").onChange(() => {
$w('#CLStatebox').changeState($w('#CLdropdown').value)
} );
$w("#CLdropdown").onChange(() => { $w('#CLStatebox').changeState($w('#CLdropdown').value)
});
});
Now all you have to do is to adjust the state-IDS of your multisttebox like the values of your dropdown.
So if your value of your first DROPDOWN is - - > “CL8000D”, then also the ID of the corresponding state should have the same ID.
Hi
Sorry, I can’t get this to work.
Regards
Trevor
Normaly this should be a simple task.
If you have big troubles, you can send me invitation to your project (if you trust me). I will check it directly on your wix-editor.
You will find my e-mail in my profile.