Add a Spell checker in infopath form

SharePoint has a spell checking web service which can be viewed at “_vti_bin/SpellCheck.asmx” and can be used to check spelling errors. So, to enable spell check in Infopath form, we can use this webservice. Basically, in your New or EditForm.aspx, add either content editor webpart or Html Form webpart with this code that calls this Webservice for spell check.

<script language=”javascript” src=”/_layouts/1033/SpellCheckEntirePage.js?rev=zYQ05cOj5Dk74UkTZzEIRw%3D%3D” type=”text/javascript”></script>

<script language=”javascript” type=”text/javascript”>

function CheckSpelling()   {

SpellCheckEntirePage(‘/_vti_bin/SpellCheck.asmx’, ‘/_layouts/SpellChecker.aspx’);



<a onclick=”CheckSpelling();” href=”javascript:”><img alt=”Spell Check” src=”_layouts/1033/images/RTE2SPCHK.GIF” style=”border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px”/></a>


Leave a Comment

Your email address will not be published. Required fields are marked *