<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Set check box value in InfoPath form using javascript/jquery</title><link>https://www.infopathdev.com:443/forums/thread/103848.aspx</link><pubDate>Mon, 07 Sep 2015 15:09:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103848</guid><dc:creator>Ankit Saxena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103848.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=103848</wfw:commentRss><description>Hi,

I have a list, in which I have customized the edit form using InfoPath in SharePoint 2010. This form contains a Multi Select choice column. 

I wish to select the check boxes, based on some value in a textbox using javascript/jquery. I am able to do so by setting the Checked attribute of the check box (Input control) to true. On the client the checkbox shows checked as well. But we i save the form or  click on any other option the selection is lost. 

After some analysis I figured out that when I select the checkbox from UI, a function from core.js is called which is saving this somewhere on the client side or along with the form state. I want to do that same operation using my script so that the check box selection is retained even when the form is saved.

Thanks,

Ankit</description></item></channel></rss>