3

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">
<html>
<head>
<apex:outputPanel>
<apex:outputLabel>  Birth Date </B></apex:outputLabel>
  <apex:inputField id="bd" value="{!Account.birthdaydate__c}"/>  
</apex:outputPanel>
</head>
<apex:form >
</Page>
-1

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.

1
  • 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
-1

You can try this out

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

Hope this will help you out.

2
  • 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.