Forum Discussion
CAE421
Apr 30, 2026Copper Contributor
Conditional field code
Hi, I'm trying to create some conditional code as seen in the screenshot below: But when I update the field it just shows a field code saying STYLEREF I need it to insert the paragraph numb...
- Apr 30, 2026
You must not type the curly braces! You must generate them using Ctrl+F9 (in my French version). Also, there is a non-breaking space in the error messages (in my version).
CAE421
Apr 30, 2026Copper Contributor
Thanks for the reply. I removed the quotation marks and the code now looks like the following:
I get the following when I update the field code:
Error! Unknown switch argument.
Do you have any further advice?