DocumentServer icon indicating copy to clipboard operation
DocumentServer copied to clipboard

Nested word fields in the conditional field (IF field) not work

Open rye0catcher opened this issue 9 months ago • 1 comments

This issue is unique.

  • [x] I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Linux (DEB package)

Version information

Online editors: ONLYOFFICE Docs v.8.3.2.19

Expected Behavior

The field code of page number in footer part is: { IF {NUMPAGES} > 1 "-{PAGE}-" "" } , which means:

  1. If there is only one page, there should be no page number.
  2. If there are muliple pages, the page numbers appear as '-1-', '-2-'.

Actual Behavior

However, when the file is edited in onlyoffice DocSpace, the page number appears as the figure below:

Image

Here is the actual file:

testfile11_2p4.docx

#2705

Reproduction Steps

Upload the file attached to the online onlyoffice server and one can see the effect.

Additional information

No response

rye0catcher avatar Apr 11 '25 00:04 rye0catcher

Hi, @rye0catcher The problem is related to the fact that at the moment our editor does not have an implementation of the "If" field. This is already a known issue, tracked as Bug 31510.

matveevms avatar May 27 '25 13:05 matveevms