Conditional formatting - image
Hello,
How can I populate an image based on conditional formatting?
I am making an patient results form and based on each questions score I want to populate an answer that is both copy and an image. Right now I have the following code that is providing the copy answer:
var Deepsquat = this.getField("Deepsquat").value;
var Pain = this.getField("Pain").value;
var Red = this.getField("Red").value;
var Yellow = this.getField("Yellow").value;
var Green = this.getField("Green").value;
if (Deepsquat == "0") event.value = Pain;
if (Deepsquat == "1") event.value = Red;
if (Deepsquat == "2") event.value = Yellow;
if (Deepsquat == "3") event.value = Green;
How do create a corresponding image to populate along with their answer? Can I do this in a text box with the custom calculation script or is there another place to input the appropriate code?
Thank you.
