by Joget, Inc.
FREE
27
DESCRIPTION

If Empty Hash is used to show alternative message in the case of unparsed hash variable.

Format

#ifEmpty.$$[OriginalHash]$$.[Message to Show When Hash Fails to Parse]#

For example, on the following hash

#date.MMM dd, yyyy[{form.table.field}|yyyy-MM-dd]#

If the form hash fails to return a value, then the result would stay as it is because it has failed to parse successfully.

#date.MMM dd, yyyy[{form.table.field}|yyyy-MM-dd]#

By using this hash variable, we are encapsulating the original hash in this hash variable by using the following code. Replace # with $$ in the orignal expression for proper parsing of the orginal hash.

#ifEmpty.$$date.MMM dd, yyyy[{form.table.field}|yyyy-MM-dd]$$.N.A.#

If the original hash fails to parse, then the result would be as following.

N.A.

Additional Plugin Information

May 19, 2023
FREE
6
7.0.0
Developer Info
Joget, Inc.
Write a review
Reviews
Print