First of all, thank you so much for addressing this topic!
Second, I've entered this into my html block like so:
<div id="record[@field:tbl_schedule_appointment_Appointment_ID]"></div>
<script>
if ( '[@cbTimestamp*]' > '[@field:tbl_schedule_appointment_Appointment_RescheduleLimit*]') {
document.getElementById("record[@field:tbl_schedule_appointment_Appointment_ID]").innerHTML = "<a href="#" onclick="window.open("https://c0abz413.caspio.com/dp.asp?AppKey=b59950002482bd3538ce4196929d&Appointment_ID=[@field:tbl_schedule_appointment_Appointment_ID]","mywindow", "menubar=1,resizable=1,scrollbars=yes,width=630,height=610")"><img alt="" src="https://antidotecrs.com/wp-content/uploads/2017/09/rescheduleicon.jpg" style="width: 20px; height: 20px;" /></a>";
}
</script>
Now I'm not showing any icon when I preview the page.
I have checked the formula field; it is working. Could this be because I am using an image on my calendar as the reschedule link?
Thanks in advance!