Spell check in oracle form

spell check is done in oracle forms by clicking a button using client_ole.
the code behind the button is
DECLARE
application CLIENT_OLE2.OBJ_TYPE;
args CLIENT_OLE2.LIST_TYPE;
docs CLIENT_OLE2.OBJ_TYPE;
doc CLIENT_OLE2.OBJ_TYPE;
selection CLIENT_OLE2.OBJ_TYPE;
sel_text varchar2(2000);
var_text varchar2(2000);
start_pos number;
PROCEDURE Close_Word IS
BEGIN
args := CLIENT_OLE2.CREATE_ARGLIST;
CLIENT_OLE2.ADD_ARG(args, 0);
CLIENT_OLE2.INVOKE(doc, 'Close', args);
CLIENT_OLE2.DESTROY_ARGLIST(args);
CLIENT_OLE2.RELEASE_OBJ(selection);
CLIENT_OLE2.RELEASE_OBJ(doc);
CLIENT_OLE2.RELEASE_OBJ(docs);
synchronize;
END Close_Word;
BEGIN
application:=CLIENT_OLE2.CREATE_OBJ('Word.Application');
if :B_HSN_ITEM_PRODUCT_INFO.PRODUCT_INFO1 IS NOT NULL THEN
CLIENT_OLE2.SET_PROPERTY(application,'Visible',0);
docs := CLIENT_OLE2.GET_OBJ_PROPERTY(application, 'Documents');
doc := CLIENT_OLE2.INVOKE_OBJ(docs, 'add');
selection := CLIENT_OLE2.GET_OBJ_PROPERTY(application, 'Selection');
-- Info 1
CLIENT_OLE2.SET_PROPERTY(selection, 'Text',:b_hsn_item_product_info.product_info1||chr(10));
CLIENT_OLE2.INVOKE(doc, 'CheckSpelling');
BEGIN
sel_text:=CLIENT_OLE2.GET_CHAR_PROPERTY(application, 'Selection');
--upgrade added condition to see if sel_text is null or not
if length(sel_text) > 1 then
var_text :=SUBSTR(sel_text, 1, (NVL(LENGTH(sel_text), 0)) - 1 );
var_text := replace(var_text,chr(146),chr(39));
var_text := replace(var_text,chr(13),chr(10));
:B_HSN_ITEM_PRODUCT_INFO.PRODUCT_INFO1 := var_text;
end if;
EXCEPTION
WHEN VALUE_ERROR THEN
Close_Word;
emessage('Spell check error. Text length cannot exceed 2000 characters. Any changes made during spell check were not applied.');
RAISE Form_Trigger_Failure;
WHEN OTHERS then
emessage(SQLERRM);
raise;
END;
Close_Word;
end if;
---info2
if :B_HSN_ITEM_PRODUCT_INFO.PRODUCT_INFO2 IS NOT NULL THEN
CLIENT_OLE2.SET_PROPERTY(application,'Visible',0);
docs := CLIENT_OLE2.GET_OBJ_PROPERTY(application, 'Documents');
doc := CLIENT_OLE2.INVOKE_OBJ(docs, 'add');
selection := CLIENT_OLE2.GET_OBJ_PROPERTY(application, 'Selection');
-- Info 1
CLIENT_OLE2.SET_PROPERTY(selection, 'Text',:b_hsn_item_product_info.product_info2||chr(10));
CLIENT_OLE2.INVOKE(doc, 'CheckSpelling');
BEGIN
sel_text:=CLIENT_OLE2.GET_CHAR_PROPERTY(application, 'Selection');
--upgrade added condition to see if sel_text is null or not
if length(sel_text) > 1 then
var_text :=SUBSTR(sel_text, 1, (NVL(LENGTH(sel_text), 0)) - 1 );
var_text := replace(var_text,chr(146),chr(39));
var_text := replace(var_text,chr(13),chr(10));
:B_HSN_ITEM_PRODUCT_INFO.PRODUCT_INFO2 := var_text;
end if;
EXCEPTION
WHEN VALUE_ERROR THEN
Close_Word;
emessage('Spell check error. Text length cannot exceed 2000 characters. Any changes made during spell check were not applied.');
RAISE Form_Trigger_Failure;
WHEN OTHERS then
emessage(SQLERRM);
raise;
END;
Close_Word;
end if;
--info 3
if :B_HSN_ITEM_PRODUCT_INFO.PRODUCT_INFO3 IS NOT NULL THEN
CLIENT_OLE2.SET_PROPERTY(application,'Visible',0);
docs := CLIENT_OLE2.GET_OBJ_PROPERTY(application, 'Documents');
doc := CLIENT_OLE2.INVOKE_OBJ(docs, 'add');
selection := CLIENT_OLE2.GET_OBJ_PROPERTY(application, 'Selection');
-- Info 1
CLIENT_OLE2.SET_PROPERTY(selection, 'Text',:b_hsn_item_product_info.product_info3||chr(10));
CLIENT_OLE2.INVOKE(doc, 'CheckSpelling');
BEGIN
sel_text:=CLIENT_OLE2.GET_CHAR_PROPERTY(application, 'Selection');
--upgrade added condition to see if sel_text is null or not
if length(sel_text) > 1 then
var_text :=SUBSTR(sel_text, 1, (NVL(LENGTH(sel_text), 0)) - 1 );
var_text := replace(var_text,chr(146),chr(39));
var_text := replace(var_text,chr(13),chr(10));
:B_HSN_ITEM_PRODUCT_INFO.PRODUCT_INFO3 := var_text;
end if;
EXCEPTION
WHEN VALUE_ERROR THEN
Close_Word;
emessage('Spell check error. Text length cannot exceed 2000 characters. Any changes made during spell check were not applied.');
RAISE Form_Trigger_Failure;
WHEN OTHERS then
emessage(SQLERRM);
raise;
END;
Close_Word;
end if;
-- Info 4
IF :B_HSN_ITEM_PRODUCT_INFO.PRODUCT_INFO4 IS NOT NULL THEN
CLIENT_OLE2.SET_PROPERTY(application,'Visible',0);
docs := CLIENT_OLE2.GET_OBJ_PROPERTY(application, 'Documents');
doc := CLIENT_OLE2.INVOKE_OBJ(docs, 'add');
selection := CLIENT_OLE2.GET_OBJ_PROPERTY(application, 'Selection');
CLIENT_OLE2.SET_PROPERTY(selection, 'Text',:b_hsn_item_product_info.product_info4||chr(10));
CLIENT_OLE2.INVOKE(doc, 'CheckSpelling');
BEGIN
     sel_text:=CLIENT_OLE2.GET_CHAR_PROPERTY(application, 'Selection');
--upgrade added condition to see if sel_text is null or not
if length(sel_text) > 1 then
var_text :=SUBSTR(sel_text, 1, (NVL(LENGTH(sel_text), 0)) - 1 );
var_text := replace(var_text,chr(146),chr(39));
var_text := replace(var_text,chr(13),chr(10));
:B_HSN_ITEM_PRODUCT_INFO.PRODUCT_INFO4 := var_text;
end if;
EXCEPTION
WHEN VALUE_ERROR THEN
Close_Word;
eMessage('Spell check error. Text length cannot exceed 2000 characters. Any changes made during spell check were not applied.');
RAISE Form_Trigger_Failure;
END;
Close_Word;
END IF;
-- exit MSWord
CLIENT_OLE2.INVOKE(application,'Quit');
CLIENT_OLE2.RELEASE_OBJ(application);
EXCEPTION
     when OTHERS then
     emessage(SQLERRM);
     raise;
END;
but i am getting this error. can you please tell me whats the problem.
Exception in thread "AWT-EventQueue-7" java.lang.NoClassDefFoundError
     at oracle.forms.webutil.ole.OleFunctions.create_obj(Unknown Source)
     at oracle.forms.webutil.ole.OleFunctions.getProperty(Unknown Source)
     at oracle.forms.handler.UICommon.onGet(Unknown Source)
     at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
     at oracle.forms.engine.Runform.processMessage(Unknown Source)
     at oracle.forms.engine.Runform.processSet(Unknown Source)
     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
     at oracle.forms.engine.Runform.onMessage(Unknown Source)
     at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Window.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Edited by: user565034 on Jul 14, 2009 11:59 AM

Your code works for me in Forms 10.1.2.3 and JRE Java Plug-in 1.5.0_15 with IE 7 ...
I am also using jacob.jar 1.8 ....
Why do not you try what I did ? Use the webutil demo form to test basic OLE functionality first ... then add your code to the Form ... that should test your webutil configuration ...
http://www.oracle.com/technology/products/forms/htdocs/webutil/Webutil_demo.zip
Let me know how that goes ...

Similar Messages

  • How to implement the spell check in oracle forms 10g or 6i...

    How to implement the spell check in oracle forms.
    Is there any different method is there.
    Please help me....
    Praveen.K

    Here is one different from Jspell..
    In 6i client/server you can call MS Word spell checker using OLE. Below sample code for 6i.
    For 10g you will need webutil to use same code. install webutil and just replace "OLE2." with "CLIENT_OLE2."
    PROCEDURE spell_check (item_name IN VARCHAR2)
    IS
       my_application   ole2.obj_type;
       my_documents     ole2.obj_type;
       my_document      ole2.obj_type;
       my_selection     ole2.obj_type;
       get_spell        ole2.obj_type;
       my_spell         ole2.obj_type;
       args             ole2.list_type;
       spell_checked    VARCHAR2 (4000);
       orig_text        VARCHAR2 (4000);
    BEGIN
       orig_text := NAME_IN (item_name);
       my_application := ole2.create_obj ('WORD.APPLICATION');
       ole2.set_property (my_application, 'VISIBLE', FALSE);
       my_documents := ole2.get_obj_property (my_application, 'DOCUMENTS');
       my_document := ole2.invoke_obj (my_documents, 'ADD');
       my_selection := ole2.get_obj_property (my_application, 'SELECTION');
       ole2.set_property (my_selection, 'TEXT', orig_text);
       get_spell :=ole2.get_obj_property (my_application, 'ACTIVEDOCUMENT');
       ole2.invoke (get_spell, 'CHECKSPELLING');
       ole2.invoke (my_selection, 'WholeStory');
       ole2.invoke (my_selection, 'Copy');
       spell_checked := ole2.get_char_property (my_selection, 'TEXT');
       spell_checked :=SUBSTR (REPLACE (spell_checked, CHR (13), CHR (10)),1,LENGTH (spell_checked));
       COPY (spell_checked, item_name);
       args := ole2.create_arglist;
       ole2.add_arg (args, 0);
       ole2.invoke (my_document, 'CLOSE', args);
       ole2.destroy_arglist (args);
       ole2.RELEASE_OBJ (my_selection);
       ole2.RELEASE_OBJ (get_spell);
       ole2.RELEASE_OBJ (my_document);
       ole2.RELEASE_OBJ (my_documents);
       ole2.invoke (my_application, 'QUIT');
       ole2.RELEASE_OBJ (my_application);
    END;Call it like this: SPELL_CHECK ('BLOCK.MY_TEXT_ITEM' );

  • How to disable spell checker in editable forms?

    Hello, everyone,
    Asking for an advice.
    I want to disable spell checking in an editable PDF form, since I don't have the dictionary of my language.
    Spell checking in this case is bit annoying and slows down the editing.
    I have the checker disabled in the preferences. However the checker still tries to do it's job.
    How do I disable it?
    Greetings,
    Vytas

    Thanks for checking it out.
    If anybody has ideas about this, please share
    Cheers,
    Vytas

  • My spell check adblock and form fill addons keep disappearing

    for some reason all of a sudden in the last week or so on the navigation bar where the spell check is and the form filler and the ad block icons are for the add ons they keep disappearing for that bar. i have to go into the customization section and drag them back to the place i had them. why is this going on. it did not happen until i got a request to update 3.6 i keep using 3.6 because that is the only version that allow the ABC spell check program and the form fill program and the ad block program. i would update to the latest if it would support these programs.

    Hi,
    You can try to '''Reset toolbars and controls:''' in the [https://support.mozilla.org/en-US/kb/Safe%20Mode Safe Mode] startup screen. Please note that you may have to rearrange the icons/toolbars to your preferences again. [https://support.mozilla.org/en-US/kb/how-do-i-customize-toolbars Customizing].

  • Spell Checker in forms

    Dear Experts,
    My form version is
    Forms [32 Bit] Version 6.0.8.11.3 (Production)
    Oracle Toolkit Version 6.0.5.35.0 (Production)
    PL/SQL Version 8.0.6.0.0 (Production)
    Oracle Procedure Builder V6.0.8.11.0 Build #449 - ProductionI have requirement to check user input spelling. Is it correct spelling or not. That means like Microsoft Spell Checking. Item will be multiple text item. How can i do this ?
    Any one have any idea or have done already this ?
    Help me out, please...
    Thanks in advance..

    Hi,
    Please check this link... How to implement the spell check in oracle forms 10g or 6i...
    Hope this helps

  • Spell checker Functionality to be Implemented in a Oracle Ebiz Custom form

    Hi,
    I have tried implementing the Spell checker functionality in one of our Custom form,I used the OLE2 Built in Package in forms 6i to invoke the Spell checker functionality in Microsoft word but i am getting an error,Could anyone please help me in implementing the functionality?
    I used the following procedure to Implement the spell checker functionality in Forms 6i and registered the same in Oracle Applications 11i,
    PROCEDURE spell_check (item_name IN VARCHAR2)
    IS
    my_application   ole2.obj_type;
    my_documents     ole2.obj_type;
    my_document      ole2.obj_type;
    my_selection     ole2.obj_type;
    get_spell        ole2.obj_type;
    my_spell         ole2.obj_type;
    args             ole2.list_type;
    spell_checked    VARCHAR2 (4000);
    orig_text        VARCHAR2 (4000);
    BEGIN
    orig_text := NAME_IN (item_name);
    my_application := ole2.create_obj ('WORD.APPLICATION');
    ole2.set_property (my_application, 'VISIBLE', FALSE);
    my_documents := ole2.get_obj_property (my_application, 'DOCUMENTS');
    my_document := ole2.invoke_obj (my_documents, 'ADD');
    my_selection := ole2.get_obj_property (my_application, 'SELECTION');
    ole2.set_property (my_selection, 'TEXT', orig_text);
    get_spell :=ole2.get_obj_property (my_application, 'ACTIVEDOCUMENT');
    ole2.invoke (get_spell, 'CHECKSPELLING');
    ole2.invoke (my_selection, 'WholeStory');
    ole2.invoke (my_selection, 'Copy');
    spell_checked := ole2.get_char_property (my_selection, 'TEXT');
    spell_checked :=SUBSTR (REPLACE (spell_checked, CHR (13), CHR (10)),1,LENGTH (spell_checked));
    COPY (spell_checked, item_name);
    args := ole2.create_arglist;
    ole2.add_arg (args, 0);
    ole2.invoke (my_document, 'CLOSE', args);
    ole2.destroy_arglist (args);
    ole2.RELEASE_OBJ (my_selection);
    ole2.RELEASE_OBJ (get_spell);
    ole2.RELEASE_OBJ (my_document);
    ole2.RELEASE_OBJ (my_documents);
    ole2.invoke (my_application, 'QUIT');
    ole2.RELEASE_OBJ (my_application);
    END;
    I am getting the following error,
    *305501:non-ORACLE exception*
    I get this error exactly after the following line of the procedure,
    my_application := ole2.create_obj ('WORD.APPLICATION');
    This Spell check functionality works fine when implemented in a standalone form(When a form is ran from the Form Builder),Facing issue only when it is registered in the Oracle applications 11i.
    I searched various Forums,But i unable to find any solution,Expecting your help on the same asap.
    Thanks,
    Venkat
    Edited by: 946005 on Jul 12, 2012 3:47 AM

    Hi Raja,
    Thanks for the Reply..
    Thanks a lot for your quick and efficient responses.
    But Iam unable to figure out how to implement this auto save functionality in this BSP Applicaition. If anyone has worked on this BSP Application <b>HAP_DOCUMENT</b>, can you please tell me how to do this auto save functionality. Is it possible that when I give this popup to save using java script and when the User clicks on OK, can I get the return code for this and use it to trigger the auto save functionality? And where exactly do I have to code this. Because the code here is bit confusing and the pages are called dynamically, even Iam unable to figure out the Button Id. Can anyone please help me out on this. This is a very urgent requirement.
    As specified by you, I have used this code to give the popup.
    <script type="text/javascript">
    function alertUser()
    alert('Please Save the changes by clicking Save button');
    window.setInterval("alertUser()",300000);
    </script>
    Can I use the same code for save also, like this:
    <script type="text/javascript">
    function autosave()
    htmlbSL(this,2,'SAVE:SAVE');
    window.setInterval("autosave()",300000);
    </script>
    I was trying with this but it is not working.
    Regards,
    Raju
    Message was edited by:
            Narayana Raju Sampathirao

  • Spell check in Forms 9i

    How do I do a spell check on a forms 9i item?

    I think the JSpell cost money to download. Is there a way to make MS Word the editor for a text item? I don't want to use the default editor option, since that would mean each client has to have that set. I would like to specify it explicitly. When I'm on the editor property for the field, it won't let me type anything in, it just reads null.

  • New Idea - Spell Check for users filling out the forms.

    It would be helpful if there could be a spell-check option on forms that allow users to submit their information by typing in their response.

    Hi,
      Thank you for your suggestion.  Please feel free to add your idea here at anytime:
    http://forums.adobe.com/community/formscentral "Submit Feature Request" link on your right.
    This message post, http://forums.adobe.com/message/5282702#5282702, has some information on different browser's built-in spell check.
    Thanks,
    Lucia

  • Spell Check - Am I blind?

    I must be blind...
    There has got to be some sort of spell checker in a forms design package!?!?!
    Is there a spell checker in Designer 7.0? If not, is there some sort of plug in?
    I deal with legal docs and it's quite a hassle to have to manually proof or use some sort of external spell checker.
    Thanks for your direction.
    Sean

    I feel your pain. I work with brokerage and annuity forms and there isn't a spell check. (sorry)
    We copy all of the XML from Designer to Word and spell check in Word. Unfortunately - it catches all the xml coding as well.
    Once finished, we copy and paste everything back into the XML. (usually without a problem).
    Heck - even this discussion board allows you to spell check.
    It IS a hassle. Hopefully Adobe comes up with something quick.
    Some tech genious would make a killing with a plug in tool. (anyone? anyone?)

  • Using Forms OLE builtin to access word spell check

    I am trying to find a way to utilize the Forms OLE built in for using MS Word spell check. We are upgrading our forms from 6 to 10g. In version 6 we were able to use OLE to open word and use it to pass in our string we wanted spell checked.
    Is there a similiar feature in forms 10g?

    Jim,
    the Forms9i demos have a PJC solution that does spell checking (http://download.oracle.com/otn/other/general/forms9iDemos9_0_0_1.zip). The Forms 10g version of the demo is not yet avaiable but will be soon. If time is short, then you can make the 9i sources work in Forms 10g with no extra work required.
    A viewlet demo can be accessed through the following link
    http://otn.oracle.com/sample_code/products/forms/demo/9i/javabeans_pjc_samples/spellcheck/viewlet/pjc_jspell_viewlet.html
    Frank

  • How can I enforce automatic spell checking for selected fields of data entered by form users?

    I'd like to be able to enforce spell checking of selected fields in the forms that I've created using LiveCycle Designer 8.2 at run time, as opposed to design time.  I understand the version LCD 8 has a nifty new spell checker for form designers.  But I want to spell check the data entered by users using Acrobat Reader.  And I want to enforce the spell checking automatically on selected fields only.
    Presently it seems that users filling in my forms, must know how to manually right-click on each field and select "Spell Check" from the resulting dialog box in order to check for spelling errors in the data the user has entered in the form.
    I would like to discover a way to enforce spell checking in selected fields, just as I am able to do in forms created using Acrobat Pro.  In Acrobat Pro, I can set a property for each field to require spell checking.  but that feature seems to be missing in Livecycle Designer.
    I've check the Object model for XFA forms hoping that I might find a method I can call with a Javascript, to check spelling based on an event such as onBlur.  But I haven't found a spell check method.
    Am I missing something simple?  Is there a way to set each field to be spell checked when a user is filling in the form using the free Acrobat Reader?
    Our users are not sophisticated and requiring them to spell check each field separately just won't cut it...
    Any help on this will be greatly appreciated.
    Thanks!
    -David Bartholomew

    Hi David,
    Two things...
    At design time set the locale of the form to one that Acrobat spell checks. For example English (US) and English (UK) locales have spell checkers; however English (Ireland) does not. Check the Warnings tab to see if spell checking is supported for your locale.
    If your form locale supports spell checking then you can go to the button script below.
    If you form locale does NOT support spell checking then Stephanie has a great work around to force spell checking (http://forums.adobe.com/message/2233945#2233945).
    Bring a regular button onto the form and in the click event have the following:
    app.execMenuItem("Spelling:Check Spelling");
    Which will open the spell checker for all fields.  Thanks to Paul for extracting all of the accessible menu items (http://forums.adobe.com/message/1912914#1912914).
    Good luck,
    Niall

  • Check Box item in oracle forms

    Hello experts,               I am new in oracle forms. I am using oracle forms 11g,weblogic server 10.3.5,oracle database 11g at windows 7 platform. I have a simple data block from base table.there is a tabular form is selected, It has four rows(records). Now I have to make 4 check boxes adjacent to records in data block in another data block.Now I have to make functionality in which only those records should be inserted into database table for which corresponding (in front of the record) check box is checked. Thank you regards aaditya.

    Hi,
    Commit_Form built-in function commits all the available data base fields.  So you have to use separate insert into statement to complete your task.
    Like...
    for i in 1 .. 4
    loop
         first_record;
         if :chk_box='Y' then
              Insert into <table_name>  values(field1,field2,....);
         end if;
         next_record;
    end loop;

  • Check image metadata in Oracle Forms 6.0

    Hello,
    I need to check if an image selected by the user in a Form has the EXIF format because, if so, I need to convert it (using an IrfanView command) before persist it in the database.
    I am developing using Oracle Forms 6.0 and Oracle 9i. Do you know if there is a way to check an image metada data inside the Forms.
    Thanks for answering.
    David

    You can also verify EXIF on client side with java (before you post image into database) (Java plugable component) ;)
    some libraries...
    http://drewnoakes.com/code/exif/
    http://code.google.com/p/metadata-extractor/
    http://jheader.sourceforge.net/
    Or you can also make Java stored procedure on database side...
    bye..

  • Spell check missing from create incident form in RC

    I have noticed auto spell check is missing from the create incident form in RC. Is there anyway to turn this on?

    usually i'm against blatant necromancy like this, but with
    the Phoenix, there's a real case for this feature. Maybe call in Word's spelling engine?
    while we're at it, maybe we could fix the RTF weirdness in knowledge articles? 

  • IE10 Spell Check on Infopath 2010 Browser Enabled Forms

    We are rolling out some new InfoPath browser enabled forms in SharePoint 2010. We are hoping to use the Internet Explorer 10 spell check functionality, as I know the InfoPath spell check functionality isn't available in browser enabled forms.
    What we've found is that IE10 spell check functionality appears to only work in Rich Text multiline boxes. Single Line or Plain Text multi-line text boxes don't support the spell check, which is causing some frustration.
    I found this page that outlines how IE10's spell check engine works:
    http://ie.microsoft.com/testdrive/Browser/SpellChecking/
    It specifies that: "Spellchecking is active by default on <textarea> and
    contenteditable elements, and off by default for text boxes. Web developers can override the defaults using the <tt>spellcheck</tt> attribute."
    I assume this means that it doesn't interpret the single line and plain text controls as textarea or contentditable elements.
    So, any idea how to set the spellcheck attribute in InfoPath, or otherwise force this? Thanks!

    Hi,
    I understand that you want to enable spelling check in  InfoPath browser enabled forms. You can add a Content Editor Web Part in your NewForm.
    1. Right click the Add new item link in your list/library
    2. Copy the URL and open it in a new tab
    3. Add a Content Editor Web Part and add below JS code:
    <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');
    </script>
    <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>
    4. When you click Add new item link, you can see a spell check button in your page.
    Thanks,
    Kenon Yin

Maybe you are looking for