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.
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:
2. step 2
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.
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?
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>
Giving the following:
I hope that makes sense. And maybe someone will jump in with information about multilevel lists and/or a better way of doing it.