Connect with Joget at Bharat AI Innovation 2026 on 20-21 NOV at MUMBAI, INDIA
PluginFree

If Empty Hash Plugin

By Joget, Inc.Hash Variable

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.

50 downloads

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.