InfoPath browser form submitting dirty fields changed through javascript

Posted by Xavier on Stack Overflow See other posts from Stack Overflow or by Xavier
Published on 2012-10-03T03:35:18Z Indexed on 2012/10/03 3:37 UTC
Read the original article Hit count: 225

I'm trying to submit an InfoPath browser form with fields that have been modified through the Spell Checker included in Sharepoint server. The spell checker checks all the fields in the page and once the user closes the SpellChecker dialog, it changes the textboxes with the new values through javascript. When I click Submit, debug the FormEvents_Submit in the form code behind and try to do a GetNodeValue("XPath to changed field"), it still shows the old values.

I realize that this may be a problem of doing postbacks and I'd like to do a full page postback once the SpellChecker is done changing all the textboxes.

Any suggestions would be appreciated.

Thanks.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about infopath