As far as I know you can’t do that. There are at least two reasons:
- the Title is a field in
DocInformation
tab but it has no variable name
- you can’t transfer a field value into another variable
To do what you want, you’d need to write a conditional expression as you describe above, i.e. some user variable ==
or !=
something. But you can’t do it according to 1 above. And since you can’t copy variables according to 2, there is no possible workaround with a user variable.
This only way I know to have “configurable” document contents is to define a set of variables (commonly with 0/1 values). These cannot be “properties”. Then you can Insert
>Field
>More Fields
, Functions
tab, Hidden Paragraph or Hidden text. With your defined variables, you can also insert conditional (hidden) sections.
Be aware that designing a consistent set of variables is not trivial.