ContributionsMost RecentMost LikesSolutionsRe: Copy to clipboard issue That works! Thanks! Full functioning rich text formula: var text CB= URLEncode([SFY PO Number] & " - " & [HO Last Name] & " - " & [HO Street Address] & " - " & [Client Company Name]); var text Alert= URLEncode("Current Job Info" & " was Copied to the Clipboard"); "<a class='Vibrant Success' style=\"border:0px solid green; background-color:green; text-align: center;-box-shadow: 0px 10px 13px -7px #000000, 9px 7px 12px 6px #000000; \nbox-shadow: 0px 10px 13px -7px #000000, 9px 7px 12px 6px #000000;\"href=" & "javascript:{" & "navigator.clipboard.writeText(\"" & $CB & "\").then(function(){" & "},function(){" & "});" & //"alert('" & $Alert & "');" & "$.jGrowl('" & $Alert & "');" & "};" & ">Copy to the Clipboard</a>" ------------------------------ RJ Ilg ------------------------------ Re: Copy to clipboard issueHow do I do this without breaking the whole thing? ------------------------------ RJ Ilg ------------------------------ Copy to clipboard issue So I'm using the following formula as a Copy Content button: var text CB= URLEncode([SFY PO Number] & " - " & [HO Last Name] & " - " & [HO Street Address] & " - " & [Client Company Name]); var text Alert= URLEncode("Current Job Info" & " was Copied to the Clipboard"); "<a class='Vibrant Success' style=\"border:0px solid green; background-color:green; text-align: center;-box-shadow: 0px 10px 13px -7px #000000, 9px 7px 12px 6px #000000; \nbox-shadow: 0px 10px 13px -7px #000000, 9px 7px 12px 6px #000000;\"href=" & "javascript:{" & "navigator.clipboard.writeText('" & $CB & "').then(function(){" & "},function(){" & "});" & //"alert('" & $Alert & "');" & "$.jGrowl('" & $Alert & "');" & "};" & ">Copy to the Clipboard</a>" So here's the issue: Anytime that there is an apostrophe in one of the fields (For example, [HO Street Address]= 2300 Henry's Drive) then the button refuses to work. Are there any edits I can make to the formula to ignore any future apostrophes? ------------------------------ RJ Ilg ------------------------------ Re: URL link box code issueRadical man. I've been staring at this code for two days now. Fairly new to this, but hopefully I'll grow with time. ------------------------------ RJ Ilg ------------------------------ Re: URL link box code issueOkay so here's what I got that's working mostly great: "<a class='Vibrant Success' style=\"border:0px solid green; background-color:green; text-align: center;-box-shadow: 0px 10px 13px -7px #000000, 9px 7px 12px 6px #000000; \nbox-shadow: 0px 10px 13px -7px #000000, 9px 7px 12px 6px #000000;\" href= " & [CRM Link] & "' target='_blank'>CRM Job Link</a>" Only issue, when I go to click the button, it messes up the landing. So say I input "https://www.paycom.com/" The new page opens up as: "https://www.paycom.com/'" With the extra ' on the end. What did I mess up? ------------------------------ RJ Ilg ------------------------------ Re: URL link box code issue Never mind it works when I designate the https. Sorry that mistake make me feel dumb. How do I tell this to open in a new tab by default? Just add'target='_blank'? ------------------------------ RJ Ilg ------------------------------ Re: URL link box code issueSorry that didn't exactly work. Anythime I change "CRM Link Input" Field, the box ceases to work. For example, I inputted yahoo.com as a test and the page it tried to open was this: https://sfy.quickbase.com/db/www.yahoo.com ------------------------------ RJ Ilg ------------------------------ Re: URL link box code issue"<a class='Vibrant Success' style=\"border:0px solid green; background-color:green; text-align: center;-box-shadow: 0px 10px 13px -7px #000000, 9px 7px 12px 6px #000000; \nbox-shadow: 0px 10px 13px -7px #000000, 9px 7px 12px 6px #000000;\"href=[CRM Link Input]" & ">CRM Job Link</a> I want people to put in the URL link in the field "CRM Link Input", which is then translated as a new page that opens. I know you can make URL field boxes, but currently, all our other buttons on this job form have the same formatting I've attached above and we'd like this t to be no different. ------------------------------ RJ Ilg ------------------------------ URL link box code issueSolved