Infopath 2003 - Setting boolean value to True or 1 using C# - InfoPath Dev
in

InfoPath Dev

Infopath 2003 - Setting boolean value to True or 1 using C#

Last post 03-28-2011 05:27 PM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-28-2011 03:05 AM

    Infopath 2003 - Setting boolean value to True or 1 using C#

    Hi guys,

     I am completely new to how infopath is handling specific controls through code. We have a number of infopath 2003 forms were we have to code using C#. We have a number of boolean controls which needs to be set to true onsubmit (if they are not already true). However I am finding it hard to grasp how 2003 handles these controls and how I assign specific values to then through code.

     Could anyone give an example of a boolean value set to True or 1 using C# in 2003?

     Thank you very much in advance!

  • 03-28-2011 05:27 PM In reply to

    Re: Infopath 2003 - Setting boolean value to True or 1 using C#

    This thread may help you. And here's some code samples for IP 2003 and 2007. You'll want to set your Boolean to "true", not "True", however. XML being so darn case sensitive and all. The code sample for IP 2003 is jscript, but should give you the general idea.

    Hilary Stoupa

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.