Grouping of Check Boxes - InfoPath Dev
in

InfoPath Dev

Grouping of Check Boxes

Last post 02-22-2007 09:36 AM by Greg Collins. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-21-2007 01:59 PM

    • snufse
    • Not Ranked
    • Joined on 02-01-2007
    • USA
    • Posts 12

    Grouping of Check Boxes

    I have 10 check boxes that all belong to same group. Since they belong to same group I only need one box checked (of the 10). Is there a function in InfoPath that allows me to use a group box and add the 10 check boxes to the group and set the rule that at least one box needs to be checked? Thank you.
  • 02-21-2007 02:23 PM In reply to

    Re: Grouping of Check Boxes

    By group I assume you are referring to a physical group in the DOM, and not just a conceptual group.

    Are you asking whether there is a way to have one and only one box checked in the group? Or are you asking whether there is a way to know if at least one box is checked in the group? Or am I not understanding yet?
  • 02-22-2007 05:12 AM In reply to

    • snufse
    • Not Ranked
    • Joined on 02-01-2007
    • USA
    • Posts 12

    Re: Grouping of Check Boxes

    Referring to a conceptual group on the form for data entry validation.
  • 02-22-2007 09:36 AM In reply to

    Re: Grouping of Check Boxes

    This being the case, you will just need to write some code or rule/conditional formatting condition to test each of the 10 check boxes for what you are trying to find out.

    i.e. something to the effect of:

    if(checkbox1 == false && checkbox2 == false . . . checkbox10 == false) { /* None are checked */ }
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.