6 Replies Latest reply on Nov 27, 2017 3:41 AM by huangc97829903

    Conditional Steps

    huangc97829903 Level 1

      Hi, Robohelp experts

      I have a topic that contains a procedure as the following:

      1. step1

      2. step2

      3. step3

      4. step4


      I add a conditional tag (version1) to the step2, and generate the html5 exclude tag (version 1), the result shows as below:

      1. step1

      3. step3

      4. step4


      Howerver, the desired result should be:

      1. step1

      2. step3

      3. step4


      Any way to fix this problem?

        • 1. Re: Conditional Steps
          Amebr Level 4

          Are you using basic HTML list tags to create the list? Or multi-level lists? Are there extra un-numbered paragraphs (e.g. notes) between the list items? Which version of Robohelp and which output?


          Depending on your setup there might be different ways of dealing with the issue.

          • 2. Re: Conditional Steps
            huangc97829903 Level 1

            I am using RoboHelp 2017.

            I tested conditional tag with simple list, it works!

            The problem is on multi-level list. The multi-level list has a short discription and a note like the following:

            1. step1

            2. step 2

                step reulst:xxxxxx.

                Note: xxxxxx.

            3. step3

            4. step4


            I set the step2 and the step result, notes as conditional step.

            How to fix this problem?


            Another thing, I cannot control the step result and notes under easily like what I did on Microsoft word. I need to cofigure the source codes to aligns the step, step results and notes.

            Any tips?

            • 3. Re: Conditional Steps
              Amebr Level 4

              I did a quick test of multi-level list with multiscreen HTML output in RH11, which calculates the number correctly.

              I don't have access to RH2015 or 2017 so it's possible this was broken in a later release. Hopefully someone else can chime in for the newer versions.


              Someone has also reported the numbering doesn't work correctly when using Dynamic Content Filtering in Responsive HTML5 - maybe this is what is affecting you?

              Re: Numbered Lists with Dynamic Content Filtering


              There's also a link to their bug report, if this is what you are trying to do.


              Regarding the indenting of notes and results, there's no real easy way of getting the code properly formatted, unless this has changed in a newer version of RH. The easiest way to get it to look right is to set up indent styles that you apply, although it means you stop and start lists constantly. (this is basic HTML lists - I haven't used the multi-level list feature).


              So you'd end up with something like:




              <p class="ListNoNumberLevel1">Indented para</p>

              <ol start="2">






              Giving the following:

              1. step1

                  Indented para

              2. step2

              3. step3


              I hope that makes sense. And maybe someone will jump in with information about multilevel lists and/or a better way of doing it.

              • 4. Re: Conditional Steps
                Amebr Level 4

                Just browsing the bug tracker and this problem in 2017 Update 2 was reported recently and may be relevant too.


                • 5. Re: Conditional Steps
                  Peter Grainge Adobe Community Professional

                  One way to indent paragraphs within a step is to use Shift Enter.


                  See www.grainge.org for RoboHelp and Authoring information




                  • 6. Re: Conditional Steps
                    huangc97829903 Level 1


                    Thanks for your help.

                    I worked it out ealier this day.

                    I modify my deafult css file, add one paragragh css call "step result", and set the indent to align with the step.

                    I aslo add a div css for "step note" to align with the step.

                    Till now, everything works well!