Support Forums

We encourage an open exchange of information. Ask your questions or make suggestions. We are here to help, but we also encourage all of you to help one another.
Click on the Subscribe Flag to be notified by email of replies to your post.
Current User: Guest Login Register
Please consider registering

Documentation for advanced show/hide syntax

Add a New Topic Reply to Post
UserPost

4:44
October 17, 2008


James

Guest

Hi Cheri,

Thanks for your reply.

I will look into advanced page jumping. As it is, I can see two other workarounds and would appreciate your ideas/help on them:

1) Use simple show/when with an expanded Boolean operator set. For example, elsewhere in the survey, I am showing a question when the answers to a previous question are /1|2|3/   (1 or 2 or 3).  Do you have an expanded symbol set to cover Boolean AND and Boolean NOT that can be used in simple show/when

2) I can convert my multiple selection list into a table of multiple choice questions (with yes/no as the options) and use these answers to control advanced show/when. The tricky part, as I read on another help forum thread, is that each row on a table actually has its own merge code. Can you tell me how to make these merge codes visible?

Thanks again for your help.

James

5:47
October 17, 2008


cheri

Moderator

posts 592

Hi, James.

The Boolean symbol sets you ask about cannot be used in the Simple Show/When dropdown.

Could you use Hide When and create a rule that will hide the question when the answers are NOT 1, 2 or 3? The Hide When rule would look like this:

'[%%36:question…%%]' != '1' OR '[%%36:question…%%]' != '2' OR'[%%36:question…%%]' != '3'

Of course, I am assuming this is a single select question with the above rule.

If you have the first 3 and then a 4th selection in checkboxes for a total of 4 options to choose from, you could use the Hide When and make the rule that the question would be hidden if the 4th selection was chosen, like this:

'[%%36:question…%%]' == '4'

Re: The table merge code. You will need to look at the source code for the survey page to get the correct merge code information. Find the question and the row and the information will be there so you can select the option.

You would alter the merge code as follows:

Example merge code: [%%24:question…%%]

First line of the merge code for the table options would be [%%24-O0:question…%%]

That is the capital letter O and the number zero (0). Option numbers are 0, 1, 2, etc and the options are numbered left to right across the row.

I hope this helps, James.

–Cheri

10:57
October 18, 2008


James

Guest

Dear Cheri,

Thanks again for your help. Can you tell me how I can look at the source code for a survey page?

James

2:49
October 20, 2008


cheri

Moderator

posts 592

Hi, James.

To view the source code, open the survey page with the table question on it, right-click your mouse and select the View Page Source in the menu box that pops up.

–Cheri

7:02
October 21, 2008


James

Guest

Dear Cheri,

Thanks for you patience with this thread. I am not quite–but, I think, almost–there.

I have created my table of multiple choice questions. Looking at the source code, I can find the following variables for each row in the question: name, id, title, value (as well as display control variables like align, class, and type). I am still not quite sure how, though, how to use this information to construct proper merge codes for each row. 

My question is structured like the following example (where all row items–A, B, and C–have “Yes” and “No” options)

Question 20. Are the following vegetables?

A. Apples

B. Peas

C. Cauliflower

So, again, I see that question 20 has a merge code similar to [%%24:question…%%] and that “A. Apples” (for example) has name=”Q_50″ but I can't put this information together to form usuable merge codes that I could use to display Question 21 if and only if A=NO AND B=Yes AND C=Yes

In other words, could you please elaborate a bit on the final section of your 5:47 10/17 posting?

Thanks,

James

8:53
October 22, 2008


cheri

Moderator

posts 592

Hi, James.

I would use Advanced Page Jumping and Logic in this case. It's easier to set up, too.

It's an Add Actions => Advanced Page Jumping and Logic.

Set up a rule that will include the three options and their answers.

Send us a support ticket if you need help getting it working correctly.

Thanks, James!

–Cheri


12:53
October 23, 2008


James

Guest

Dear Cheri,

Unfortunately, the actual question I need to ask has 8 elements, and I would like to branch the survey depending on the specific configuration of yes/no responses to each element. If worst comes to worst, I will break it up into multiple questions (or redo the question entirely). But it really would be ideal if you could show me how to get merge codes for each element in the table of multiple select questions.

Thanks,

James

3:27
October 23, 2008


cheri

Moderator

posts 592

Hi, James.

The merge codes for the rows in the table aren't designed for the Advanced Show/When useage.

Could you please submit a ticket to support and give us the survey name and tell us the details (question numbers, options, etc.) of exactly what you are trying to accomplish? We will be glad to take a look at it for you.

Thanks,

Cheri

Add a New Topic Reply to Post


Reply to Topic: Documentation for advanced show/hide syntax

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 11 + 3        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.4 (Build 357)