function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chris Simmons 3Chris Simmons 3 

If-Then Statement to Display Text

Hi,

I'm trying to incorporate an If-Then statement into my visualforce section. For instance, if Field X = true, display these values, otherwise display nothing. 

What's the syntax for including an If-Then statement in my visualforce?
kevin lamkevin lam
The Field X is a boolean field, then the syntax is:
rendered="{!Field_X}"