Support Forums : Triggers change question numbers

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

Triggers change question numbers

Add a New Topic Reply to Post
UserPost

7:30
May 9, 2008


Karen

Guest

I’ve noticed a bug in the question numbering of questions on a page when the show/hide trigger is invoked. In my example, I have two show/hide triggers which each only trigger one question each,. Both questions are hidden at the start and are shown immediately following the trigger as well as appearing chronologically after the trigger question.

However, I notice the numbering on ALL questions on the page, actually changes once a question has been triggered for a ‘SHOW’ action on a previously hidden question.

Check out the screenshots:

BEFORE: http://skitch.com/countablyinfinite/mr5r/survey-before
AFTER: http://skitch.com/countablyinfinite/mr5p/survey-afater

Is this theme specific? I’m using the CafĂ© au lait base theme.

11:00
May 12, 2008


Chad

Moderator

posts 686

Hi Karen,
No, the question numbers are not Theme specific. Question numbering is a tricky business, especially when dealing with client side code like Show/Hide logic. The best tactic is to hide the question numbers for those questions that are hidden (you can do this by advanced editing the question).

This has two benefits, it gets over the hurdle of questions not re-numbering properly due to client side computers. It also makes the hidden questions look associated with the trigger question since they are un-numbered below the parent question.

Hope this helps,
Chad

Add a New Topic Reply to Post


Reply to Topic: Triggers change question numbers

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 1 + 6        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.3 (Build 356)