1 Reply Latest reply on Sep 8, 2011 3:22 PM by philmodjunk

    Script to select Checkbox with Yes or No

    BC2Learn

      Title

      Script to select Checkbox with Yes or No

      Post

      I want to create a script to select Yes or No from a Checkbox value list.  Can anyone help??

        • 1. Re: Script to select Checkbox with Yes or No
          philmodjunk

          If the value list is defined with the actual text for yes and no, then:

          Set field [YourTable::checkboxField ; "yes" ]

          will select "yes".

          set field [YourTable::checkboxField ; "no" ]

          will select "no".

          Sounds like radio buttons would make more sense here. I am assuming that selecting both "yes" and "no" would make no sense here...