• John Jenkins 4
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi,

 

I am currently having an issue with the rendered attribute for an outputpanel. I currently have it check against an inputfield to see if it is blank.

 

It works with 1 condition: <apex:outputPanel rendered="{!LEN(address)<1}"  >

 

But if I want to add in an additional OR || statement to check for {!LEN(city)<1} than it breaks.

 

I tried the following:

 

<apex:outputPanel rendered="{!LEN(address)<1} || {!LEN(city)<1}">

<apex:outputPanel rendered="{!LEN(address)<1} OR {!LEN(city)<1}">

<apex:outputPanel rendered="{!LEN(address) || !LEN(city) <1}">

<apex:outputPanel rendered="{!LEN(address) OR !LEN(city) <1}">

 

I am probably missing something super simple. Any help would be greatly appreciated. 

 

Thanks in advance!

  • January 24, 2012
  • Like
  • 0