I have a server connect called get_payment
.
I then want to display a string like this:
<p dmx-text="get_payment.data.payment.description.HAS_A_VALUE() ? get_payment.data.payment.description:'A Message'"></p>
I want .HAS_A_VALUE()
to be false if:
-
get_payment
returns no record -
get_payment
returns a record but thedescription
field is null -
get_payment
returns a record but thedescription
field is an empty string
How do I do that in Wappler?
Community Page
Last updated:
Last updated: