[βœ… Solution] Calculations to create header/sections disappear after refreshing or logging in and out

I created sections/banners using this code:

var lrg = β€œ700”;
var hgt = β€œ40”;
var bg = β€œD31D50”;
var ft = β€œffffff”;
var txt = β€œLead+Stage+&+Status”;
β€œ!(http://dummyimage.com/​” + lrg + β€œx” + hgt + β€œ/” + bg + β€œ/” + ft + β€œ.png&text=” + txt.toUpperCase() + β€œ)”

however after a few hours it doesn’t seem to work and I need to edit the calculations for it to work again. Any tips on how to do it correctly?

It should look like this:

1 Like

However after a few hours it turns blank.

But after few hours it looks like this:

1 Like

You can simply write some basic HTML to accomplish this.

3 Likes

Hi @arvylee,

first of all: Welcome to our Tape community! :tada: Happy to see you here.

Indeed what @1F2Ns shared could be useful to you - in Tape calculation fields, you can leverage the full power of HTML and CSS next to Markdown, which allows you to create custom stylish elements such as headers without needing to use external images. Of course you can stick with your existing solution, given that you know it well and it gets the job done.

Regarding the issue and the screenshot you shared: Could you elaborate a little more about the circumstances, you mentioned β€œa few hours later”? No changes were made to the formula and to the record in between? Existing calculations should never just vanish.

It would be important for us to understand what is going there, and whether it is an issue on our side.

Thank you for sharing this!
Cheers
Tim

1 Like

Thanks @1F2Ns! This link is very helpful!

2 Likes