Hi, I'm hoping someone may be able to help me with an issue I've run into.
I have followed the guides provided by Zoho to successfully create a deluge code which displays an image in a note section based on a selection from a dropdown field.
However in my application instead of using a dropdown field, the selection is made from a checkbox field. The idea is that the notes field will show each image as it's selected in the checkbox field i.e. for each Hazard that is selected, the appropriate icon appears to the side.
Is it possible do to this and if so, what amendments would I need to make to the deluge code to get the desired outcome?
I have put the current working code below:
displayimg = Images[Img_Name == input.Hazard_Type].Image;
if(displayimg != null)
{
displayimg = displayimg.replaceAll("/sharedBy/appLinkName/",zoho.appuri);
displayimg = displayimg.replaceAll("viewLinkName","image_database");
displayimg = displayimg.replaceAll("fieldName","Image");
displayimg = displayimg.replaceAll("<img","<img height=50px Width=50px");
}
input.Hazard_Img = displayimg;