You need to sign in to do that
Don't have an account?
inputField column width and span
I have an input field that is appearing too small, making it hard for the user to read its contents (text up to 100 characters).
I'd like to have it span the width of the form, but no matter what, it still only appears in column 1 of 2. Here is what I tried to no avail:
<apex:pageBlockSection title="Email Contents" columns="1"> <apex:inputField value="{!notification.EmailTemplateName__c}"/> </apex:pageBlockSection>
You would have thought that columns="1" would have done it.
How do I get this field (including the label) to span the width of the page block section or form instead of leaving the right half blank?
<apex:pageBlockSection title="Email Contents" columns="1">
<apex:inputField value="{!notification.EmailTemplateName__c}" style="width: 100%;"/>
</apex:pageBlockSection>
All Answers
<apex:pageBlockSection title="Email Contents" columns="1">
<apex:inputField value="{!notification.EmailTemplateName__c}" style="width: 100%;"/>
</apex:pageBlockSection>
Awesome! Thanks