Skip to main content
added 4 characters in body
Source Link
Alex Tennant
  • 13.7k
  • 5
  • 59
  • 85

I'd like to have the title attribute of pageblocksection tag based on a condition, that is something like this (not working so):

apex:pageBlockSection title="{!IF (TheQuotation.Fake_Amount__c == null, "Quotation Overview", "Quotation Summary")}" id="sezioneSopra" columns="2"<apex:pageBlockSection title="{!IF (TheQuotation.Fake_Amount__c == null, "Quotation Overview", "Quotation Summary")}" id="sezioneSopra" columns="2">

So I would have the title of this section to be Quotation Summary or Quotation Overview depending on the value of the field Fake_Amount.

How could I do?

I'd like to have the title attribute of pageblocksection tag based on a condition, that is something like this (not working so):

apex:pageBlockSection title="{!IF (TheQuotation.Fake_Amount__c == null, "Quotation Overview", "Quotation Summary")}" id="sezioneSopra" columns="2"

So I would have the title of this section to be Quotation Summary or Quotation Overview depending on the value of the field Fake_Amount.

How could I do?

I'd like to have the title attribute of pageblocksection tag based on a condition, that is something like this (not working so):

<apex:pageBlockSection title="{!IF (TheQuotation.Fake_Amount__c == null, "Quotation Overview", "Quotation Summary")}" id="sezioneSopra" columns="2">

So I would have the title of this section to be Quotation Summary or Quotation Overview depending on the value of the field Fake_Amount.

How could I do?

edited title
Link
Keith C
  • 138.3k
  • 31
  • 233
  • 476

PageBlokSection PageBlockSection Title attribute based on condition

Source Link
user9959
user9959

PageBlokSection Title attribute based on condition

I'd like to have the title attribute of pageblocksection tag based on a condition, that is something like this (not working so):

apex:pageBlockSection title="{!IF (TheQuotation.Fake_Amount__c == null, "Quotation Overview", "Quotation Summary")}" id="sezioneSopra" columns="2"

So I would have the title of this section to be Quotation Summary or Quotation Overview depending on the value of the field Fake_Amount.

How could I do?