Hyperlynk local file

Hyperlynk local file

Hi,

I am trying to create a hyperlink to a local file, however I keep running into an issue.
The user should enter the path in a string field. From this string field I then make the hyperlink as followed:
  1. mypath = input.filepath;
  2. filehandle = "file:///";
  3. new_link = "<a href=\"" + filehandle + mylink + "\">" + mylink + "</a>";
  4. input.url_link= new_link
  5. input.new_link_string = new_link //this variable is to verify the newly created link
new_link_string displays the newly created link properly, however when trying to open url_link the colon (:) in filehandle disappear, leading to a failed url get

Why does the colon get dropped, and how can I prevent that?
    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 コンテンツ




                              ご検討中の方