I've adding a new field (checkbox) to a page type and only want it displayed if the documents node level is 1. How can I do this in the visibility section of the field options? Currently I put
CurrentDocument.NodeLevel == 1 but the new field doesn't show up.
What am I doing wrong here?
Jan provided the correct answer but the reason behind it is CurrentDocument is only available on the live or preview site. EditedObject is available on all form pages as a generic object for the Admin interface to get values from.
Please, sign in to be able to submit a new answer.