Geeks With Blogs
Jeremy Ramos Resource blog (C# | ASP.NET | VB | WPF | WSDL | SQL | SharePoint | InfoPath | SSRS | SSIS)

This is a sequel to my 2011 post about How To: Spell Check InfoPath Web Form in SharePoint. This time I will share how I managed to achieve Spell Checking in SharePoint 2010.

This time round, we have changed our Online Forms strategy to use Custom lists instead of Form Libraries. I thought everything will be smooth sailing as we are using all OOTB features. So, we customised a Custom list form using InfoPath and added a few Rich Text Boxes (Spell Check is a requirement for this specific project). All is good in the InfoPath client including the Spell Checker so, happy days, I published straight away.

Here comes the surprises now. I browsed to my Custom List and clicked Add New Item. This launched my Form in a modal dialog format. I went to my Rich Text Boxes to check the spell checker, and voila, it's disabled!

I tried hacking the FormServer.aspx and the CustomSpellCheckEntirePage.js again but the new FormServer.aspx behaves differently than of MOSS 2007's. I searched for answers in many blogs to no avail. Often ending up being linked to my old blog post.

I also tried placing the spell check javascript into a Content Editor Webpart of the Item's New Form and Edit form. It is launching the Spell Check dialog but it's not spellchecking the page correctly.

At this point, I decided I needed to get my project across ASAP so enough with experimentations and logged a ticket with Microsoft Premier Support.

On a call with the Support Engineer, I browsed through the Custom List and to the item to demonstrate my problem. Suddenly, the Spell Check tab in the toolbar is now Enabled!

Surprised? Not much, it's Microsoft!

Anyway, to cut my story short, here is a summary of my solution:

  1. Navigate to your Custom List
  2. In the Ribbon Toolbar, navigate to List > Customize List > Form Web Parts > Content Type Forms > (Item) New Form. This will display the newifs.aspx which is the page displayed when Add New Item is clicked. This page, just like any other SharePoint page, contains webparts. In this case, we have the InfoPath Form Web Part.
  3. Add a Content Editor Web Part (CEWP) on top of the InfoPath Form Web Part. (A blank CEWP would do for this example)
  4. Navigate to Page and click Stop Editing
  5. Click Add New Item again and navigate to a Rich Text box. Tadah! The Spell Check tab is now enabled!
  6. Do the same steps for the (Item) Edit Form to enable Spell Checks when editing an item.

This "no code" solution discovered purely by accident!

Posted on Thursday, November 7, 2013 5:08 PM How To | Back to top


Comments on this post: How To: Spell Check InfoPath web form in SharePoint 2010

# re: How To: Spell Check InfoPath web form in SharePoint 2010
Requesting Gravatar...
This worked perfect for me in 2010.. Thank you so much!!!
Left by Bob on Feb 10, 2014 3:35 PM

# re: How To: Spell Check InfoPath web form in SharePoint 2010
Requesting Gravatar...
Great to hear that Bob!
Left by Jeremy on Feb 10, 2014 3:50 PM

# re: How To: Spell Check InfoPath web form in SharePoint 2010
Requesting Gravatar...
How will I go about this in a library browser enabled form?
Left by Natasha on Apr 16, 2014 10:53 AM

# re: How To: Spell Check InfoPath web form in SharePoint 2010
Requesting Gravatar...
Thank you!!!
Left by Kelly on Apr 21, 2014 4:08 PM

# re: How To: Spell Check InfoPath web form in SharePoint 2010
Requesting Gravatar...
Unfortunately your solution is not working for me. Does the spell check work only on a Rich Text box and not Enhanced Rich Text?
Left by Troy on Jun 04, 2014 3:24 PM

# re: How To: Spell Check InfoPath web form in SharePoint 2010
Requesting Gravatar...
See http://www.programnetinc.com/tips for a no-code solution to enable spell check on InfoPath browser forms.
Left by IPGuru on Jun 17, 2014 3:58 PM

# re: How To: Spell Check InfoPath web form in SharePoint 2010
Requesting Gravatar...
my spell check is still grayed out, is it related to permission controls?

It shows me the "This control is currently disabled" message.
Left by stand on Sep 04, 2015 10:48 AM

# re: How To: Spell Check InfoPath web form in SharePoint 2010
Requesting Gravatar...
Thanks very much, it worked.
Left by Vishal Giri on Jun 23, 2016 3:51 AM

# re: How To: Spell Check InfoPath web form in SharePoint 2010
Requesting Gravatar...
Yes, this worked perfectly. Thank you!
Left by Matt W on Jul 05, 2016 3:53 PM

Your comment:
 (will show your gravatar)


Copyright © Jeremy Ramos | Powered by: GeeksWithBlogs.net