I would like to show a toggle in my app.
the toggle should only be visible when a field in my database is set to 'true'.
can i do this by adding a JavaScript after the i lnvoke the query-service? how would the JS be set up?
Thanks!!
I would like to show a toggle in my app.
the toggle should only be visible when a field in my database is set to 'true'.
can i do this by adding a JavaScript after the i lnvoke the query-service? how would the JS be set up?
Thanks!!
You can add mapping from target response field to "visible" property of toggle component and add JS to mapping.
For example
codeif (value == "show") {
return true; // show toggle
} else {
return false; // hide toggle
}/code
cool, works! thank you