I have a Pay button which should be shown if T_payments has no results. Can‘t I use the opposite or like „!=„ ? of course I can change code directly. But prefer to go via wappler
I saw the expression: HasItems but not the opposite? Now I do a workaround and the opposite with my button. Payment button is loaded per default. Then hide the payment button IT HAS results. The effect is now, that even when paid in DB my button will be shown for 0.5 seconds .
Ill try the above solution. As i have now that situation:
Pay Button showed
Check if payment is done
Hide Pay Button
So step 2 shows me quickly the button and the dmx is loaded and hides button. Not so clean, thats why I try @Hyperbytes Solution. Maybe I missunderstood it…?
Freddy,
show when hasitems will show your button when your query returns items.
hide when hasitems will hide your button when your query returns items.
No its the opposite, if no items then show. As no items means, no payments found. But tomorrow I‘ll give it a new try! Thanx for beeing patience. That upload imageLoad will also check it this week again.
That is what I am saying:
Dynamic attributes > hide > when hasitems will hide your button when your query returns items. So it will show it when no items...