Copy Clipboard | WordPress.org

[ad_1]

Hello @dhevilz

Thank you very much for using our plugin. The COPYFIELDVALUE operation in the plugin copies the field’s value to the clipboard.

COPYFIELDVALUE( # or fieldname#, form object or form id or consecutive form number )

For example, if you have the fieldname1 field, and you want to copy its value to the clipboard by clicking on it, you can insert an “HTML Content” field in the form and enter the following piece of code as its content:

<script>
jQuery(document).on('click', '[id*="fieldname1_"]', function(){
COPYFIELDVALUE('fieldname1', this.form);
});
</script>

Best regards.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer