Jump to content
  • 0

Dynamically Hide an HTML Block


nuimage

Question

Is there a way to dynamically hide/unhide an HTML Block on a results page?  For example, I have a search form, If a user selects "Car" from the dropdown list, and then enters the color "Red" in a text box as a description, the results list should return a list of cars that are red, and the HTML Block should display a hyperlink to the car.   However, if there is not a match I would like to hide the HTML Block.  Is this possible?

Many thanks in advance!

 

 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @nuimage,

I guess you should consider using Formula fields with CASE logic to display links based on the condition.

You can render output of Formula field as HTML with the following field setting:

Field_formatting_options_4.png

I guess this article might help too.

https://howto.caspio.com/tables-and-views/data-types/formula-fields/

Hope this helps.

Regards,

vitalikssssss

 

 

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