1 Reply Latest reply: Feb 4, 2013 8:37 AM by TexasApexDeveloper RSS

    copying form field contents and labels into clipboard

    user4471490
      Hi All,

      Its been quite few days, I have been trying to find out solution for copying contents of fields of an input form to clipboard. I'm looking for a javascript
      Which will copy the contents of a form field with labels into clipboard by just clicking one Button copy, does anyone has an idea how to achieve this in APEX 4.2?

      Appreciate your help
        • 1. Re: copying form field contents and labels into clipboard
          TexasApexDeveloper
          Simple answer.. Not possible with just straight javascript due to browser security.. You can find solutions using Flash, but that has it's own security issues...
          See this Google lookup on the issue:

          https://www.google.com/search?q=oracle+apex+api&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#hl=en&sugexp=les%3B&gs_rn=2&gs_ri=serp&gs_mss=javascript%20copy%20fie&tok=FZBe1mTt3ILufBfvcL_0mw&pq=oracle%20apex%20configure%20e-mail&cp=21&gs_id=w8&xhr=t&q=javascript+copy+field+value+to+clipboard&es_nrs=true&pf=p&client=firefox-a&tbo=d&rls=org.mozilla:en-US%3Aofficial&sclient=psy-ab&oq=javascript+copy+field&gs_l=&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&fp=b827f0ae3ee15cc7&biw=1280&bih=878

          Thank you,

          Tony Miller
          Ruckersville, VA