Can you set a radio button to NULL in InfoPath?

Posted on 2010-01-08
Last Modified: 2012-05-08
Is there any way to Null out a radio button in InfoPath Forms? Here is my situation:
I have a question that is set to conditionally display based on the answer to the question above it. The answers are chosen using radio buttons. So if someone clicks Yes on Question 1, Question 1A appears. However, if someone enters an answer to question 1A and then clicks No on Question 1, the question hides, but the answer to Question 1A remains in place.  The best I can seem to do is to either hide it or set it to false, but I would like to make it appear that the question was never answered. Is there any way to do this? Thanks.
Question by:janicet123
    LVL 28

    Expert Comment

    Not sure if am tracking exactly but you can reset a value even if it is hidden.

    Typically you should use sections and hide them if you have more than one control to hide.

    On each control setup the rules you need to adjust the other values you need.
    LVL 7

    Author Comment

    Thanks, Clay. Yes, I am trying to reset the value of the radio buttons to Null, or its de-selected state. It was during usability testing for a form that I discovered this potential problem.
    Currently, Question 2 is conditionally hidden. If Yes is selected for Question 1, Question 2 appears. If the user answers Question 2, and then changes their answer of Question 1 to "No", Question 2 hides. However, I noticed that the answer to Question 2 stays populated. So what I want to do is remove the selected answer so that no radio button for Question 2 stays selected when the answer to Question 1 is No. The best I have been able to do is set the answer to False or True, or "1" or "0". If I set it to (blank) nothing happens.

    LVL 7

    Accepted Solution

    I found the answer. I was trying to put a value into that radio button. But what I actually wanted was no value. Leaving the value field blank worked like a charm.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
    PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now