
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2010 05:37 AM
I'm looking to create a UI Action that copies certain fields on the form to the person's clipboard. Does anyone have any experience creating something like this?
Brad
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2014 06:51 AM
Hi Ryan,
Different browsers handle this differently and it can be a security issue, so I've used some client code like this in the past.
var field = g_form.getValue('fieldname');
window.prompt("Copy to clipboard: Ctrl+C, Enter", field);
It pops up a window with the text for the user to copy. You could stick that code in a client side ui action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2014 06:44 AM
Brad Tilton (Cloud Sherpas) did you ever find an answer to this? I just had a user ask for the same thing...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2014 06:51 AM
Hi Ryan,
Different browsers handle this differently and it can be a security issue, so I've used some client code like this in the past.
var field = g_form.getValue('fieldname');
window.prompt("Copy to clipboard: Ctrl+C, Enter", field);
It pops up a window with the text for the user to copy. You could stick that code in a client side ui action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2014 06:57 AM
Great, thanks Brad!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2019 07:49 AM