I have used the <apex:inputField in VF page add as the inline page in the Account page layout. I am wondering the calendar cutoff like below image. Is there any solution?

enter image description here

Looking forward your help SFDC stuffs.

Code Snippet:

<apex:page standardController="Account" Sliderbar="false" showHeader="false">
<apex:outputLabel>  Birth Date </B></apex:outputLabel>
  <apex:inputField id="bd" value="{!Account.birthdaydate__c}"/>  
<apex:form >

The VF page will be injected as an iframe inside the account detail page and when you click the date link, the calender element is displayed fully but it cannot pop out of the iframe boundry and that is the reason it appears as cut. You will need to increase the height of the inject VF page or make the scroll available (settings on the page layout) to see the full view of the calendar.

  • Could you please suggest the alternative solution? I mage include 10 date fields. So, If i supposed to increase, it will not give the good professional look.
    – Lemon
    May 13 '16 at 5:56

You can try this out

<apex:page standardController="Account" showHeader="false">
    <apex:outputLabel>  Birth Date </apex:outputLabel>
          <apex:inputField id="bd" value="{!Account.SLAExpirationDate__c}"/>  

Hope this will help you out.

  • 2
    How does this address the problem of the popup being cutoff by the iframe?
    – Keith C
    May 13 '16 at 9:45
  • This is nothing resolved.
    – Lemon
    May 13 '16 at 17:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.