I have a page with 3 different items:
list of values: resource list of values: status Text field (which will be converted to a hidden item later on)
Whenever the user selects a checkbox on the IR, the row id value of the selected row goes into the Text Field item. It concatenates as necessary. Thing is, I'm trying to add a dynamic action that enables or disables a button based on these 3 items described initially, like this:
Dyn Action: on change of my 3 items (on true) Javascript expression to enable:
$v("my_text_item").length > 2 && ($v("my_resource_lov") != "" || $v(
"my_status_lov" ) != "" )
Javascript expression to disable:
$v("my_text_item").length > 2 && ($v("my_resource_lov") == "" && $v(
"my_status_lov" ) == "" )
But it doesn't work. I tested it out on the console and it runs perfectly (true or false when needed). Anyone knows why?
Thanks