On option (there's probably better ones) that I can think of right now would be to have a secondary data source that you copy the selected options to (and not the unselected options). Then in the print view, you can have a numbered list displayed from the repeating data in the secondary data source. The numbers will be in seqeunce as you require.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
Alternatively, you could put the same three checkboxes into the print view;
put each of them into a separate section; setup conditional formatting on
each of the sections to hide the section if the checkbox inside of it is
false.
Good luck,
Alex @ Microsoft
On option (there's probably better ones) that I can think of right now would
be to have a secondary data source that you copy the selected options to
(and not the unselected options). Then in the print view, you can have a
numbered list displayed from the repeating data in the secondary data
source. The numbers will be in seqeunce as you require.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
I would like to have an input view in which I have 3 options that I can
independently select (i.e. 3 check boxes).
I would like a print view to display only the selections I have made and put
them in a numbered list.
So if I select Option 1 and Option 2 I would like the print view to display:
1) Option 1
2) Option 2
However If I select Option 1 and 3, then it would show
1) Option 1
2) Option 3
any ideas would be appreciated.
Thx
dbconsulting - 27 Jun 2005 04:32 GMT
I haven't tried Greg's option, but I will.
I don't think I understand your option, Alex.
I tried what you said, but I put the numbering outside of the sections (in
order to get them to sequence). However, while the conditional formatting
hide the section, the number still showed up with a blank area next to it.
When I try to put the numbering inside of the section, the numbering does
not continue to flow from one section to the other.
Can you help me understand your option ?
Thx
> Alternatively, you could put the same three checkboxes into the print view;
> put each of them into a separate section; setup conditional formatting on
[quoted text clipped - 29 lines]
>
> Thx
Alex [MSFT] - 29 Jun 2005 07:54 GMT
You definitely need to include the numbering inside the sections.
Use expression boxes to come up with the numbering: for example, assume you
have three checkboxes:
1) Option A
2) Option B
3) Option C
Then use the following expression for these expression boxes:
- Option A: number=1
- Option B: if (OptionA = true) number=2
- Option C: if (OptionA = true OR OptionB = true) number = 2. if (OptionA =
true AND OptionB = true) number = 3.
This scheme doesn't scale very well; if you want this to work for a larger
number of options, explore adding a record to a repeating field every time
an option checked, and presenting the view as a repeating table, taking use
of the position() XPath function.
Good luck,
Alex
>I haven't tried Greg's option, but I will.
>
[quoted text clipped - 47 lines]
>>
>> Thx