Adding a filter to a combobox

0
Hello, I'm new on this platform, so I would like to show some results in combobox if they have a True condition. For example I'm storing at database some patient treatments but I only want to show on the combobox the treatments who have a boolean  database attribute if is needed approvation a true. How can I do that?   Thanks.
asked
1 answers
1

Ana,

I created an example. 

 

Here is the domain model:

image.png

 

Here is a page with a combo box to select the associated object:

image.png

 

Here are the combo box properties:

image.png

 

And here are the selectable objects properties showing the XPath to only display objects with a boolean attribute set to true

image.png

 

I hope that helps,

Mike

answered