Checkbox text value - InfoPath Dev
in

InfoPath Dev

Checkbox text value

Last post 06-29-2010 11:56 AM by dustock. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-29-2010 10:44 AM

    • dustock
    • Not Ranked
      Male
    • Joined on 06-22-2010
    • Minnesota
    • Posts 5

    Checkbox text value

    I am curious if there is an easy way to have a checkbox have a text or number value,  Like when a checkbox is checked display text or numbers and when its not checked display nothing.  I have a form with 8 checkboxes, and right now the values go into a hidden text field, but it just reads of truefalsetruefalsefalsefalsetruefalse.  I figured out a way to have a line break between each value but I need to have what the text the check box represents show not true or false.  So when the first check box is true, display 15, when the second is false, display nothing, and so on.  I tried adding a rule to check box for checked and not checked to do this but I still get true or false in the hidden text box.  Does anyone know how to do this?

     Thanks,

    Dustin
  • 06-29-2010 11:08 AM In reply to

    If you change the datatype of the field bound to the checkbox, the checkbox settings will allow you to set the checked and unchecked values for the control.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 06-29-2010 11:56 AM In reply to

    • dustock
    • Not Ranked
      Male
    • Joined on 06-22-2010
    • Minnesota
    • Posts 5

    Thanks Jimmy, thats exactly what I needed!!

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