Questions tagged [pageblocksection]
An area of a page that uses styling similar to the appearance of a Salesforce detail page, but without any default content.
60
questions
1
vote
0
answers
26
views
Values getting lost during rerender in Visualforce page
I have a Visualforce page that displays the list of fields using <apex:repeat> like below:
<apex:pageBlockSection columns="1" id="selectedMetaSection">
<apex:...
0
votes
1
answer
32
views
Alignments and Labels are getting missed in the apex:pageblock in VF page
I have a VF Page and the labels for the input checkbox are getting missed. The below is the VF page:
<apex:pageBlock title="Generate Schedule of Investments Report for {! fund.Name}">
...
0
votes
1
answer
37
views
Avoid text wrapping in apex:pageblocksection in VF page
I have used apex:pageBlockSection in my VF Page but the problem is that the text is getting wrapped down.
Below is the code:
<apex:pageBlock title="Generate Schedule of Investments Report for {...
0
votes
1
answer
47
views
VF Page: Why does the cursor land on a specific custom date field by after page load?
Does anyone know why the cursor always lands on the same field whenever the page is loaded or reloaded? I have other Visualforce pages and other fields on the record detail page but the cursor always ...
1
vote
0
answers
668
views
How to adjust column widths in Visualforce to PDF email attachment?
I wish to send a visualforce page as an email PDF attachment to user. The problem I am facing is that the columns don't fit in the PDF. Hence I sent the PDF in landscape mode. After that, some extra ...
0
votes
0
answers
186
views
Issue with PageBlockSection alignment in lightning experince
I have Vf page which is supposed to be used in lightning experience. I changed the styling using standard attribute lightningStylesheets="true".
But when using PageBlockSection with one ...
0
votes
1
answer
286
views
Is it possible to hide a read only section entirely in popup but display it in details?
We have a custom object and in that object's layout, there is a section called 'Billing Information'. All of the 8 fields in that section are read-only. Is it possible to hide the section entirely in ...
0
votes
1
answer
124
views
Is there an elegant/easy way to set tab order on a VisualForce page?
My VF page has input sections for which I want each section to have the tab-key order to be set Top-Down as one can set for a page layout as below.
Is there a way to do this other than setting the ...
0
votes
0
answers
85
views
Is it possible to create a proxy voting form in a Salesforce Object?
I have created an object called 'Shareholders' and for every Shareholder record I would like to capture their votes.
I need to create a table like below (per record) where I can capture their vote(s) ...
0
votes
1
answer
369
views
pageBlockSection collapsible is not working
I have a visualforce page which has few pageblocksections. I need pageBlockSection to hide when the page loads with down arrow. I am using "collapsible=true" on that pageblocksection. but it is not ...
0
votes
1
answer
195
views
PageBlock Field Alignment
One of my fields below won't align to a PageBlockSection. What am I doing wrong here?
<apex:pageBlockSection title="Advertiser" collapsible="true" columns="1" id="advertiser">
...
0
votes
1
answer
494
views
Page Block section is disturbing the table structure
I have a Visualforce page, which is showing table.
<apex:page controller="TestControllerForIssue">
<style type="text/css">
.myClass { width: 50px; }
<...
0
votes
2
answers
362
views
Dynamically set columns on pageBlocksection and pageBlockSectionItem?
Page :
<apex:page id="ContactDetails" extensions="ContactsController" standardController="Case">
<script>
function showFieldsOnClickAction() {
showFieldsAction();...
0
votes
1
answer
247
views
How to make the target of an output link be displayed next to the pageblocktable?
So I'm having an issue trying to display the contacts of accounts next to the pageblocktable. The functionality I want to occur is that once an account is clicked to display the contacts for that ...
1
vote
1
answer
249
views
How to redirect to a record page?
I have a custom VF page in a section in the Lead layout.
The page is showing a table with specific information.
When I clink on the link I expected to see an account record page.
The link is not a ...
0
votes
1
answer
141
views
InputField Conditional Font Styling
I have a requirement to conditionally style the font for a single inputfield based on the User's profile, however, below statement does not appear to be rendering properly. Is this possible using ...
0
votes
1
answer
794
views
VF page with dynamically generated HTML code?
I have a custom VF page which is added to a section in the page layout of an object.
What I'd like to achieve is to add dynamically generated HTML code to my custom VF page.
The HTML is dynamically ...
0
votes
0
answers
168
views
How to create a custom VF page with dynamically generated HTML code?
I'm using a custom rich text field.
The rich text field is created in a standard object.
In the rich text field there is a dynamically generated HTML code via apex.
Here is what the rich text field ...
0
votes
1
answer
40
views
How to empty a pageblock section?
I have this page block section code:
<apex:pageBlockSection id="contactData" columns="2" collapsible="true" >
<apex:outputText label="First Name" value="{!p.FirstName}" id="...
0
votes
1
answer
676
views
Grid in vf page
Hi i want grid behavior in vf; below is the code i am using, but strange behavior is that my tooltip is missing and also label; for that i have used outputlabel anyways. How to render tootltip? I have ...
0
votes
1
answer
382
views
Does reRender of apex:PageBlockSection invoke the constructor?
I have a visualforce page which calls a controller method via actionFunction. When I reRender the pageBlockSection, the variable values get reset.
There is no method that resets the variable values. ...
1
vote
2
answers
1k
views
How do I add a blank space in the pageblock title section
I have tried
.pbTitle {
white-space: nowrap;
}
and
These are not working see my example what I want to achieve:
<apex:pageBlockSection id="section1" title="...
0
votes
1
answer
677
views
Help text is not displayed for outputfield
I have a component in which i am using outputfield to display fields. The help text is not displayed. In the same component i have inputfield and the help text is displayed fine. what could be the ...
1
vote
1
answer
2k
views
apex:outputLabel : Not able to display on top of inputField
This is the code for page block section:
<apex:pageBlockSection title="Search Territory Accounts" collapsible="false">
<apex:panelGrid columns="4">
<apex:inputField value="{...
0
votes
1
answer
63
views
Unable to bind custom object on to pageblock on rerendering of VF page
Am trying to write a VF page which has details of the custom object and their related lists in tabular format. My code for it goes as below.
Visualforce Page:
<apex:page controller="Report" ...
0
votes
1
answer
719
views
Rerender Pageblocksection with a rich text field
I have requirement to rerender a pageblock section when I click the "Add Note" button. But the challenge here is I am unable to rerender the rich
text field <apex:inputField value="{!rec....
2
votes
1
answer
244
views
Need help in rendering pageblocksection depending on record type name
I am overriding the New Button on My custom object which is having different record types. I need to display different sections based on their record type. Right now I am rendering pageblock sections ...
0
votes
1
answer
204
views
Visualforce rendering woes - layout is broken when using a parent <apex:outputPanel>
I have a formatting issue caused by an extra output panel needed for rerendering on my visualforce page. The functionality works they way I have it now, but the formatting is ugly and I want to be ...
1
vote
0
answers
460
views
Repeat pageblocksection on commandbutton click
I have a visualforce page and i'm going to add multiple Product into my custom object but where i am stuck is i am not able to set <apex:repeat> to my pageblocksection
I just want to repeat the ...
0
votes
1
answer
479
views
Adding section on button in visualforce [closed]
I have 3 same sections in visualforce page. Users will have 3 of this section minimal to fill out. But what i want to make is button on which i will add new section, same as others. Because user may ...
1
vote
1
answer
143
views
how to show custom buttons on vf block sections
i have created a vf page which requires a custom button formatting
i want to show buttons "go" and "send payslip" exactly bottom of those two picklists.
Here is my vf-
<!--------------------------...
0
votes
1
answer
323
views
Rerender an apex:pageBlockSection from an apex:actionFunction
i have a javascript function that must delete an item from a cart and it's work well, i have a command button in which there is a render already and i want that my javascript function reREnder a ...
1
vote
1
answer
51
views
InputFields don't appear on some parts of the page, even though they do elsewhere
I have a visualforce page which has a couple page block sections (under pageblock > form), and is meant to have inputs within those sections. For some reason, the input fields will appear in the first ...
3
votes
1
answer
119
views
How to detect showListButton/hideListButton being clicked on collapsible PageBlockSection?
I'll go through it in text, but here is a short video detailing my problem:
video
Hi, in this sample code I have collapsible PageBlockSections which are collapsed by default. Currently, when a ...
1
vote
3
answers
33
views
visual force pages insufficent privileges
I programmed a VF page and I put it inside a section of a custom object. Now when a user open one record and doesn't have the privileges to see the VF section, the system shows this page inside the ...
0
votes
2
answers
50
views
SObject row was retrieved via SOQL without querying the requested field: Lead.OwnerId Error is in expression '{!save}' heating error
public with sharing class emailcomponents{
public lead ids{set;get;}
public Decimal score1=20;
public Decimal customerscore=0;
public Decimal vendorscore=0;
public emailcomponents(...
1
vote
2
answers
72
views
question on using pageblocksection
A part of VF page is below:
<apex:pageBlockSection title="EVALUATION">
<apex:pageblockTable value="{!interviewSkillReviews}" var="skillreview">
<apex:column headerValue="...
0
votes
1
answer
83
views
how to edit the record in another pageblocktable of the the same vf page using custom controller
my problem is ...after saving,the record is not getting in Pageblock 2.how to get the record automatically after save the record
<apex:page Controller="siteportal" showHeader="false" id="pageId"&...
0
votes
1
answer
991
views
Alignment issue pageBlockSection
I want to have this appearance in a visual force page
but the issue is i have used css styles over the pageblocksection but no result, it seems that when we are using more than 4 columns in a ...
1
vote
1
answer
767
views
Skip column in PageBlockSection
So I have too much padding between fields within a PageBlockSection. I have 3 columns, so to reduce the padding between fields I created 4 columns. How can I skip a column to force the next ...
1
vote
1
answer
411
views
Visualforce pageBlockSection Column/Header Limitation
I am recreating a form made in Excel over in Salesforce. I have run into a speed bump with VF pageBlockSection.
VF page as it looks now:
Goal:
How do I change columns within a pageBlockSection ...
0
votes
1
answer
1k
views
Customize the page block buttons in visualforce page
I am developing an edit page for my company and i have a problem with the page buttons. Is it possible to put them in a random position not just the one offered with the location="top/bottom/both".
...
1
vote
2
answers
13k
views
Visualforce: How to center a single pageBlockSection column?
I need a single column of fields centered in a pageBlockSection. I easily found the "columns" attribute and set the value to "1". When I did, it still aligns the fields to the left with enough room ...
0
votes
1
answer
559
views
Hide pageblock based on field value
I'm new to this so please try to be extra patient with me :) Trying to display an message in the Account layout based on the Account name field. So what I've got working so far is the error message. ...
0
votes
1
answer
391
views
Stop apex from displaying label in apex:pageblocksection
Can we stop apex from outputting labels for apex:outputText within a pageblocksection?
I have a html table on which I only want to input text field, i.e. without any labels. But the rendered code is ...
0
votes
1
answer
318
views
Adding custom component interspersed within related lists on standard detail page
Is there a way to add a complete new section "Related list" to an opportunity.
and then have check box field with a search users option and assigning date.
do I need to create this in apex , or can ...
2
votes
1
answer
122
views
How override view on custom tab?
I want to make report section for view in custom tab. I d'nt understand how override view. There is visual page for this but i can't use View filter for my tab. For example, there are 2 views: sales,...
0
votes
1
answer
708
views
Hide/unhide sections based on the Account type pick list
I am new to Salesforce and came up with a problem regarding the account page layout
On the account detail we have the account type based on : client, supplier and customer.
When it comes for the ...
1
vote
1
answer
103
views
Collapse a pageblock section when another pageblock section collapsed
can someone let me know how to manage this?
Collapse a pageblock section when another pageblock section collapsed?
3
votes
1
answer
763
views
showOnEdit within commandButton not working when PageBlock section starts with rendered=false
On my visualforce page I have a pageblocksection that starts off hidden,
this pageblock is shown when the user selects a value from a picklist.
This feature works, but breaks the 'showOnEdit' ...