sheltermanager

Open full view…

Document Template - can I embed scripts or logic?

lisa zorn
Thu, 08 Apr 2021 19:56:37 GMT

Hi - I have a Cage Card document template (SAB_Cage_Card.html; our account is nl2089) and I'd like to add some logic to make some attributes more visible to help shelter staff see them. For example, if the diet includes an entry for No Greens, rather than just saying so in text, we'd like to have a graphic that makes it much faster/easier to spot. Is there a way to do this? Thank you!

robinrt
Fri, 09 Apr 2021 08:05:01 GMT

You could use CSS. If you go to Tools->Source, you can put a style tag in your document to choose how to display certain elements. Use the token for your diet as the class attribute of the element to display, then add the appropriate CSS to your style tag to display an image or change the colour, etc.

lisa zorn
Mon, 12 Apr 2021 20:34:26 GMT

Thank you, that worked well!