How to add data from different fields into One dropdown list?

Hello

try to do it like this one…

$w.onReady( () => {  $w("#dataset1").onReady( () => {let itemObj1 = $w("#dataset1").getCurrentItem().titlelet itemObj2 = $w("#dataset2").getCurrentItem().title    console.log(itemObj1)    console.log(itemObj2)let myOptions = [        {"label": itemObj1,"value":itemObj1.toString()},        {"label": itemObj2,"value":itemObj1.toString()},    ]    $w("#ipbox").options = myOptions  })})

In this example i used 2-different DATABASES.
You can also just use one DATABASE (by using just one DATASET).