Invalid Check box Validation - InfoPath Dev
in

InfoPath Dev

Invalid Check box Validation

Last post 05-31-2006 01:17 PM by Agni Jonnalagadda. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 05-31-2006 08:52 AM

    • Adub21
    • Not Ranked
    • Joined on 05-18-2006
    • USA
    • Posts 25

    Invalid Check box Validation

    I have a form that has a group of 10 check boxes. When the user clicks one of the check boxes, 2 others on the form highlight with an error of only True or False allowed. i have checked all over in the form and also in the manifest. I can't see why my form is doing this. Does anyone have any ideas on this??

    Thanks!
    Angie
  • 05-31-2006 09:46 AM In reply to

    Re: Invalid Check box Validation

    Do you see the validation errors before the checkbox is checked? If not then maybe you have a rule or code that sets the value of those other checkboxes when this checkbox is checked.

    Do the errors go away when the checkbox is again unchecked?
    Shanthi Reddy
  • 05-31-2006 12:07 PM In reply to

    • Adub21
    • Not Ranked
    • Joined on 05-18-2006
    • USA
    • Posts 25

    Re: Invalid Check box Validation

    The error is not on before it is checked but it does go on and then off when I click on various other check boxes. i've looked in the manifest and can not find where there are any rules or validation set up to do this. I've looked at the code behind it also and did not find anything there. Any other ideas I could check into?
  • 05-31-2006 12:14 PM In reply to

    Re: Invalid Check box Validation

    Hi,
    Is your checkboxe boolean("true/false") type, if yes probably then probably your node might already have some other text than true/false.

    If the field cannot be blank, even then you will see the checkbox highlighted.

    One more thing what is the value that is set when you check that checkbox? Is it other than "true/fale or 1/0", if yes you need to change that.
  • 05-31-2006 12:16 PM In reply to

    • Adub21
    • Not Ranked
    • Joined on 05-18-2006
    • USA
    • Posts 25

    Re: Invalid Check box Validation

    Hi. How can I tell what the value is when i click on it?
  • 05-31-2006 12:55 PM In reply to

    Re: Invalid Check box Validation

    Double click on the checkbox and see what is the value "When Cleared" and "When Checked". Those will be the values that get set when the check box is not cleared and .checked
  • 05-31-2006 01:04 PM In reply to

    • Adub21
    • Not Ranked
    • Joined on 05-18-2006
    • USA
    • Posts 25

    Re: Invalid Check box Validation

    Thank you for leading me in the right direction. I had the rules set to make sure all the unchecked boxes were set to 0. There were a few of them in there that were set to '"0"' instead of 0 -- probably duplicated from me cutting and pasting. So the value was not boolean -- it gave me the error automatically. Thank you so much for your help!
  • 05-31-2006 01:17 PM In reply to

    Re: Invalid Check box Validation

    Good to know that your problem is solved!
    Please post here if you have any other questions.
Page 1 of 1 (8 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.