Displaying multiple images in a Notes section

Displaying multiple images in a Notes section

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;

    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方