<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Set textbox value if checkbox is true infopath</title><link>https://www.infopathdev.com:443/forums/thread/100729.aspx</link><pubDate>Fri, 09 Jan 2015 23:53:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100729</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100729.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100729</wfw:commentRss><description>&lt;p&gt;So - if all four all selected, you&amp;#39;d want TB = 4? Maybe set the checkboxes to 1 if selected, and then have a default value for your text box that adds all of them? Otherwise, you&amp;#39;ll need to put rules on all 4 checkboxes to change the value of the textbox when one of the checkboxes changes.&lt;/p&gt;</description></item><item><title>Set textbox value if checkbox is true infopath</title><link>https://www.infopathdev.com:443/forums/thread/100706.aspx</link><pubDate>Thu, 08 Jan 2015 05:27:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100706</guid><dc:creator>kashy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100706.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100706</wfw:commentRss><description>I have 4 check boxes and a text box.. and I need to do something like this

if all CB are checked then, TB vale should be CB1+CB2+CB3+CB4

if any of the CB is not checked (for eg. if CB3 is not checked) then TB value should be CB1+CB2+CB4

How can I do this in infopath?</description></item></channel></rss>