Spellcheck within a custom object/textarea/Notes field

And now, some backstory.

I have no previous Salesforce experience, and I’m an emerging developer. I work for a company that uses the Opportunities section to track clients and the insurance products they decide to purchase. The notes section that is built into each Opportunity is a textArea that needs to be considered for spellchecking, but when I test this out in the sandbox, Chrome, Firefox, and IE8/10 do not show the spelling errors for this area. I have built a separate testpage which would make a call to an outside server to check the spelling/grammar with AftertheDeadline, but the IT department is coming down on me for the lack of security in making this callout.

The question is, can anyone recommend either a plug in or code that would check the spelling of this textArea, or any text fields located on the page for that matter?

The reason why I mention a custom object in the title is that I believe the note information is captured in the object Note__c.


P.S. I would also like to add that in trying to implement the spellchecking on my own custom test page, I was able to receive indications of misspelled words when including the following code from AfterTheDeadline (in IE10, Firefox, and Chrome…not IE8:():

  1. include jQuery … naturally none of this works without jQuery

    script src=”http://code.jquery.com/jquery-1.4.2.js”

  2. load the atd.textarea.js — this script makes it easy to attach AtD to a textarea


  3. this script is a hack that allows cross-domain AJAX


  4. this CSS file contains the style information for highlighted errors

    link rel=”stylesheet” type=”text/css” media=”screen” href=”css/atd.css”


Ideally, it would be best to use Static Resources with a pure client-side JavaScript spell check plugin. Using scripts included in Static Resources only, you shouldn’t have any cross-domain issues.

You may want to try:

Please note, I haven’t tested it, though.

Source : Link , Question Author : SQLHound , Answer Author : Matt K

Leave a Comment