JavaScript

{dialog.object}copyTextToClipboard Method

Syntax

{dialog.object}.copyTextToClipboard(text);

Arguments

textstring

The text to place on the clipboard.

Description

Copies text to the clipboard.

Discussion

The copyTextToClipboard() method copies text to the clipboard on the client's machine.

Example

//copy value from FIELD1 to the clipboard
var text = {dialog.Object}.getValue('FIELD1');
{dialog.object}.copyTextToClipboard(text);