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_paymentreturns no record -
get_paymentreturns a record but thedescriptionfield is null -
get_paymentreturns a record but thedescriptionfield is an empty string
How do I do that in Wappler?
Community Page
Last updated:
Last updated: