Can I view/hide questions by...

M

Monomeeth

Hello, I am designing a form which requires the user to answer some questions
to determine whether they are requires to undertake a training program.

What I need is to have the form display or hide questions depending on the
user's answers.

For example, if the user answers "yes" to the first question they will then
see the second question. If they answer yes to the second qustion they will
then see the third question. If the user keeps answering yes they will have
to answer all six quetions. If they answer no at any tar they will either
skip a question and jump to the following question, or they will be given a
dialogue message ending the prices and asking them to submit the form.

So far I have created an optional section for each of the possible six
questions, but am having difficulty getting the questions to behave how I
want. It would probably work okay if I could set the conditional formatting
to "show this control" or "hide this control", but I can only opt to hide the
control depending on field values. I have tried to set all optional sections
to be included in the form by default, but am still not able to get the form
to behave how I want.

We're using Infopath 2003, and don't have access to any more recent versions.

I will keep trying to get this to work okay, but any suggestions would be
most helpful.

Thank you greatly,

Joe.
 
S

Shiva (GGK Tech)

Hello,

As per your requirement there is no difference of adding normal section and
optional section. You have to modify your conditional formatting and it
should works correctly.

Check out once your conditional formatting. If you add the conditional
formatting like field1 value is equal to true then you have to change like
below,

field1 value is not equal to false.

Then it should works if you have those question data type is string. If your
fields data type is boolean then it should works correctly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top