How can I set one of my secondary data fields as a check box? - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How can I set one of my secondary data fields as a check box?

Last post 07-11-2022 08:07 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-07-2022 03:09 PM

    How can I set one of my secondary data fields as a check box?

    Attached is my form and I have a XML secondary data source. From it I have a field named "HotRevision_Temp", this field I want to work as a check box so that when the save button is pressed, I can set "DesignHotRevision" in the Main data source equal to "HotRevision_Temp" from the secondary data source. The "DesignHotRevision" field is used in the 'Edit Item' view and in this view it is seen as a checkbox which is why I want to set it equal to a check box. However, Im not sure if this possible so any suggestions on how I can do this would be awesome?
  • 07-11-2022 08:07 AM In reply to

    Re: How can I set one of my secondary data fields as a check box?

    I think you are pretty close here. In the new view, you can see that the checkbox will store "yes" or "no" for its value, and the checkbox in the edit view, for the main data source field, is true or false. InfoPath won't let use change the values used for a checkbox bound to a secondary data source field in the designer UI. But if you modify your rule to set your main data source to check if the secondary data source checkbox = yes, that should return a Boolean true or false value.
    Hilary Stoupa

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