$w(“#dropdown1”) returns the selected drop-down object. You need to grab the value from it in order to use it in your call to contains(), similarly with the input fields. i.e.
$w(“#dropdown1”).value
// &
$w(“#input1”).value
$w(“#dropdown1”) returns the selected drop-down object. You need to grab the value from it in order to use it in your call to contains(), similarly with the input fields. i.e.
$w(“#dropdown1”).value
// &
$w(“#input1”).value