Difference between revisions of "Template:Conflicting Layout Rules and Show Empty Fields Settings"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 1: | Line 1: | ||
{{Note|<br>A field can either | {{Note|<br>A field can be referenced in either: | ||
:a. | :a. A section for which '''Show Empty Fields in View''' has been disabled<br> (using [[Section#Advanced Options in Sections|Advanced Options]] in a Section), or | ||
:b. | :b. A [[Layout Rules|Layout Rule]] condition. | ||
But it ''cannot'' be | But it ''cannot'' be referenced in both places. | ||
'''The Reason:''' | '''The Reason:''' | ||
If the field is empty, the server removes it from the page. The Layout Rule, meanwhile, is a JavaScript function in the page. When the Layout Rule tries to test that field, an error occurs.}} | If the field is empty, the server removes it from the page. The Layout Rule, meanwhile, is a JavaScript function in the page. When the Layout Rule tries to test that field, an error occurs.}} |
Latest revision as of 01:00, 21 July 2011
Note:
A field can be referenced in either:- a. A section for which Show Empty Fields in View has been disabled
(using Advanced Options in a Section), or - b. A Layout Rule condition.
But it cannot be referenced in both places.
The Reason: If the field is empty, the server removes it from the page. The Layout Rule, meanwhile, is a JavaScript function in the page. When the Layout Rule tries to test that field, an error occurs.
- a. A section for which Show Empty Fields in View has been disabled