Jump to content

How To: Display link IF data equals "Pending", ELSE display nothing


Recommended Posts

On a claims list results table, I have inserted an HTML field next to a text datafield [@Claim_Status]. The [@Claim_Status] displays the status of the claim record; and the claim record has a unique identifier [@Claim_ID].

 

I want the HTML field to display a hyperlinked text ("Complete Claim") if [@Claim_Status] equal "pending". If the status does not equal "pending", then show nothing at all. The link will open a new webpage to a datapage and receive a parameter [@Claim_ID] to pull up the claim so that the end user can complete the claim.

 

What is the conditional script for this?

 

Screenshot (364).png

Link to comment
Share on other sites

  • 1 month later...
On 8/22/2017 at 10:48 PM, DaeBo said:

On a claims list results table, I have inserted an HTML field next to a text datafield [@Claim_Status]. The [@Claim_Status] displays the status of the claim record; and the claim record has a unique identifier [@Claim_ID].

 

I want the HTML field to display a hyperlinked text ("Complete Claim") if [@Claim_Status] equal "pending". If the status does not equal "pending", then show nothing at all. The link will open a new webpage to a datapage and receive a parameter [@Claim_ID] to pull up the claim so that the end user can complete the claim.

 

What is the conditional script for this?

 

Screenshot (364).png

You may have a look at this post. The question is very similar, It has a script which you may try using 

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
Reply to this topic...

×   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...