Is there any way I can hide/show a content inside the repeat region if the element ID does not exit in the database?
I have a repeat region with repeat children. I would like to hide a content if another element does not exit in the database, like it does not have an ID at all.
When I try display hide/show with “!” the effect is happening on others record.
Can you please provide some example of what are you trying to achieve, as it’s not really clear where/when should be hidden?
Sorry for not being clear, I have the query that displays some contents. I am trying to not display the font-awesome and the container if there is no service created by the company.
I tried to use the conditional region but it is affecting other records even if the service exists.
I tried to use the show/hide it is doing the same problem. I was guessing I should utilize the ID Service to hide but it is not working because the container of all other services of other companies is affected in the display.
In other words, I want to hide the container if the ID is not created in the database.
Any solution will be welcome.
You should indeed use the dmx-hide dynamic attribute on your container and check if the binding returning “Samsung” exists. So it will be just:
dmx-hide="!binding_name"
Thank You so much. It works.
