You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I transfer new customer details into my accounting program, always using tedious "copy 'n paste", I have noticed that eBay and other websites have a "click to copy" button, or simply, click on a field which copied the text content.
The above is my freight company page with a tracking number, clicking on the graphic copies the tracking number.
Expected behavior (*)
Clicking on a customer name and/or address fields on the order page will copy that text to the clipboard.
Benefits
It would make it much quicker and efficient for admin staff to copy many of the customer details (and or product details) if they don't already use a linked method.
Additional information
Here is a sample from W3schools
` Step 1) Add HTML:
Example
The text field
<input type="text" value="Hello World" id="myInput">
<input type="text" value="Hello World" id="myInput">
The button used to copy the text
<button onclick="myFunction()">Copy text</button>
<button onclick="myFunction()">Copy text</button>
<!-- The text field -->
<input type="text" value="Hello World" id="myInput">
<!-- The button used to copy the text -->
<button onclick="myFunction()">Copy text</button>
Step 2) Add JavaScript:
Example
function myFunction() {
// Get the text field
var copyText = document.getElementById("myInput");
// Select the text field
copyText.select();
copyText.setSelectionRange(0, 99999); // For mobile devices
// Copy the text inside the text field
navigator.clipboard.writeText(copyText.value);
// Alert the copied text
alert("Copied the text: " + copyText.value);
}
`
The text was updated successfully, but these errors were encountered:
Description (*)
I transfer new customer details into my accounting program, always using tedious "copy 'n paste", I have noticed that eBay and other websites have a "click to copy" button, or simply, click on a field which copied the text content.
The above is my freight company page with a tracking number, clicking on the graphic copies the tracking number.
Expected behavior (*)
Clicking on a customer name and/or address fields on the order page will copy that text to the clipboard.
Benefits
It would make it much quicker and efficient for admin staff to copy many of the customer details (and or product details) if they don't already use a linked method.
Additional information
Here is a sample from W3schools
Step 2) Add JavaScript:
Example
function myFunction() {
// Get the text field
var copyText = document.getElementById("myInput");
// Select the text field
copyText.select();
copyText.setSelectionRange(0, 99999); // For mobile devices
// Copy the text inside the text field
navigator.clipboard.writeText(copyText.value);
// Alert the copied text
alert("Copied the text: " + copyText.value);
}
`
The text was updated successfully, but these errors were encountered: