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
Alex Waddell 17Alex Waddell 17 

Help formatting Visualforce page... Recreating a gov't document

Hello everyone,

I need some help creating something that looks similar to the area circled in red below

User-added image

I have no issue exposing the data inside the x2067__c object I am just not sure about 2 things
  • How to create the box that goes next to "To: " and "From " and then place the data inside that box
  • How to place the "To " and "From " boxes next to each other as shown on the form. (Everything I've made in Visualforce has always been stacked on top of each other)

This is what I have so far
 
<apex:page standardController="X2067__c" docType="html-5.0" showHeader="false" sidebar="false" standardStylesheets="false" id="thePage">
<div align="Left" id="PatientInfo">
            <apex:image url="/servlet/servlet.FileDownload?file=0152F0000000YZR" width="1200" height="200"/><br/>
    </div><br/>
 <apex:form>   
        <apex:pageBlock title="To: ">
            <apex:outputField  value="{!X2067__c.Payer_Name__c}"/><br/>
            <apex:outputField  value="{!X2067__c.Payer_Fax_Number__c}"/>

    </apex:pageBlock>
    </apex:form>
   
</apex:page>

User-added image

My visualforce skills are minimal so I will take any help I can get. Just point me in the right direction.

Thanks!
 
Venkata Naresh Thatha 8Venkata Naresh Thatha 8
Hi Alex,
i can say you need to have "TextArea" fields defined to get large boxes. This you need define within the custom object as far i understand.