Jump to content
  • 0

Conditionally display link in a Calendar


Kuroshi

Question

I have this formula:
 

CASE
WHEN [@field: Calendar_ID] = ' '
THEN '<a href=
"https://accountid.caspio.com/dp/appkey?Calendar_Date=[@field:WorkDays_Date*]&ResourceName=[@field:ResourceName]"> Test </a>'
ELSE ' '
END

However it is not working as expected. Logic is if the field Calendar_ID is blank, then show the Test link. Link is not showing. 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hello @Kuroshican you try to use IS NULL instead of = ' ' ? Here's the formula:

 

CASE
WHEN [@field: Calendar_ID] IS NULL
THEN '<a href=
"https://accountid.caspio.com/dp/appkey?Calendar_Date=[@field:WorkDays_Date*]&ResourceName=[@field:ResourceName]"> Test </a>'
ELSE ' '
END

Hope it helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...