function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Line feed now causing "\n" to appear

Before 28-Feb 2008 21:00EST line feeds in Custom Button URLs were treated as documentation only.
After that time they are being processed as valid codes.  This has invalidated all code associated with custom buttons.
Our original code:









Line feeds for each fields were included to make it easier to read.  Now the line feeds are interpreted as "\n" and the code no longer works.  Removing the line feeds does return the button to its intended functionality.
When will this problem be corrected?  We do not want to change all of our existing code.
We are having the same problem, it's causing errors that are becoming troublesome. Any work around ideas would be appreciated. Better yet would be a quick fix.
I was having the same issue. Just do as dcw suggests and remove the
carriage returns/line feeds between each line. It worked for me.

We had the same issue.  Was able to identify issue pretty fast and fixed it in a matter of minutes but would love to know what SFDC is doing to address the issue.