Booleans and programatically created Form Template - InfoPath Dev
in

InfoPath Dev

Booleans and programatically created Form Template

Last post 07-16-2010 07:21 AM by Qazi Anis. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-07-2010 07:55 AM

    • stukkend
    • Not Ranked
    • Joined on 01-13-2010
    • South Africa
    • Posts 7

    Booleans and programatically created Form Template

    I am creating a form programatically, using the xsd.exe tool. However, setting the value for Boolean fields (represented by checkboxes on the form) does not set the checked state of the checkbox on the form. It does not even get created in the final xml for the form. Somehow it seems as if boolean and date fields are just skipped. Are there any properties that i need to set? And what is the relevance of the ...Specified property (e.g. chkIsMarriedSpecified)?
    life happens...
  • 07-16-2010 07:21 AM In reply to

    Re: Booleans and programatically created Form Template

     you will need to find how your template expects the value, for checkboxes. we have two values one to represent checked and another to represent unchecked. to find it out double click the check box and check the values value when checked and value when cleared. make sure you are writing only these value programatically.

    Qazi Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.