Finding a CheckBox control ID in InfoPath - InfoPath Dev
in

InfoPath Dev

Finding a CheckBox control ID in InfoPath

Last post 11-27-2007 01:39 PM by Clay Fox. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-27-2007 09:58 AM

    • wintert
    • Top 500 Contributor
      Male
    • Joined on 06-26-2007
    • Bet Yizhak
    • Posts 35

    Finding a CheckBox control ID in InfoPath

    Hello all

    I have InfoPath form with 2 check boxes.

    One is named: Blue and the other is named: White

    I have another button named: Continue.

    I want to do 2 steps.

    1. Checking one of the Check Boxes.

    2. pressing on Continue and checking if one of the Check Boxes are checked and then it opens another Form.

    I go into the Button's code and i want to write a code that says that: when I press on the Continue button, it checks if one of the Check Boxes are checked and if one of them is checked then it will open another form.

    I can't find a way or the ID of the Check Boxes to write something like: "if (check box=true) then open new form".

    Does anyone knows how to do it?

    It sounds so lame and so embaraasing but i need it :)

     

    I am new in this code stuff.

    Thanks in advance,

    Tal Winter

    Filed under: ,
  • 11-27-2007 01:39 PM In reply to

    Re: Finding a CheckBox control ID in InfoPath

    Hey Tal.

    I think you just want to put a conditional rule on your continue button.  Set the condition blue=true or what ever you want. Then the action would be to open a new form.  If the condition is not met it will not fire the action.  You should not need any code for this.

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