Copy link in views

By: Brian Neufeld | Asked: 03/20/2023
ForumsCategory: General questionsCopy link in views
Brian Neufeld asked 1 year ago
I would like to add a button within a Formidable Forms view that would enable users to copy the value from a field to the clipboard. For example: Is this possible? Can someone point me in a direction to make this happen?
1 Answers
Rob LeVineRob LeVine answered 1 year ago
I suggest jQuery or Javascript - see here for an example and here for an explanation. I have to admit that seems odd to me you want your user to copy the shortcode of a view though.
Brian Neufeld replied 1 year ago

Thanks. I went down the path with Javascript however the Formidable Forms view fields won't process Javascript. Just for clarification, I'm not wanting users to copy a shortcode, I simply used that image as an example of the functionality I am looking for.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community