The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
18 views

VisualForce : Dynamically rerendered inputFields are displaying on page without labels

Background: I created a VisualForce page with the intention of embedding it inline into an Opportunity layout. I've used the standard Opportunity controller with a controller extension. On this ...
2
votes
1answer
36 views

Dynamic Visualforce Input Field

I am trying to make a dynamic visualforce input field. Actually, I have already made it before, however I am trying to clean up code so that I only need one input field per page. I have a table on ...
0
votes
1answer
20 views

Is it possible to set default value to default field?

Documentation says only about custom fields. And as I know I can not insert my custom js to default new-page. Any ideas?
2
votes
2answers
61 views

Uploading from SF to AWS S3: upload works but all files are empty

I've made a file uploader from SF to AWS S3. Everything works as expected except for the fact that the file itself in S3, despite its size reading correctly, is empty: public pageReference ...
0
votes
1answer
28 views

Getting value from javascript to apex:inputfield not worked after button clicked

in PDCReport I'm using Javascript function to fill date range based on picklist value, the picklist values are : "Current FY,Next FY,Next Month ......." the javascript function is called when the ...
0
votes
1answer
14 views

Change the value of the component variable used in the “AssignTo” attribute of the <apex:attribute> tag

I am running into an issue with a custom component I have written. The controller for the component has the following member: public String crmId { get; set; } This member is used in the component ...
1
vote
1answer
32 views

Picklist apex:inputField Inexplicably Renders as Disabled

I have an apex:inputField control bound to a field of type picklist on a visualforce page. Like so: <apex:inputField value="{!myObj.DependentPicklist__c}" required="true" /> Inexplicably it ...
2
votes
0answers
53 views

reCAPTCHA on Visualforce pgage

I've been looking for a way to implement reCAPTCHA or any type of CAPTCHA on a Visualforce form. It appears that reCAPTCHA has been updated since this posted Adding CAPTCHA to Force.com sites. Can ...
0
votes
2answers
25 views

How to use “hours” apex:inputField type of time

Is that possible to use only hours? below code I can have hours and minutes but I just need hours to display, is there any attribute that needs to set? Visualforce page: <apex:page controller="...
0
votes
1answer
47 views

Pass value of inputfield to controller without binding it to any object

I a div popup where there is an input field <apex:inputfield id="CommentDate" value="{!AModel.dateTimeofComment}"/> <apex:commandButton action="{!AModel.saveComment}"...
0
votes
1answer
25 views

onkeypress=“” affects other fields. How to restrict?

This is my page: and to simplify the search my apex:inputText defines: onkeypress="return searchOnEnter(event);" function searchOnEnter(event) { if (window.event && window.event....
1
vote
0answers
25 views

Unless the input field is rendered this code does not work - not sure why?

I have some VF code that looks like this: <apex:outputPanel styleClass="grey" layout="block"> <apex:pageBlockSection title="Flexible Pricing" columns="2" id="FlexPricing"> ...
0
votes
0answers
48 views

Pass a value from parent page to popup to controller

I have the following piece of code in a component <apex:pageBlock id="Panel"> <apex:pageblocktable value="{!Model.PAList}" var="pA"> <apex:column width="28" rendered="{...
0
votes
0answers
14 views

Set default value for country code on custom VF page [duplicate]

I have a cutom visualforce page with an input field for Contact's country code. When I visit this page as a guest customer community user, it defaults to the US, but as a logged-in user, it defaults ...
-1
votes
2answers
120 views

Apex input field of Type lookup is taking “Name” instead of “ID”

I have a inputfield of type lookup. It should contain Id of the reference Account but it takes the Name. Alert is showing name of the Account, where it should return Id. Please Advise. <apex:...
0
votes
0answers
58 views

Pass input field lookup value to standard controller

I have below Page code which I am unable to put values to the new record instance that gets inserted with commandbutton click. Can someone please let me know? Apex page <apex:page ...
0
votes
0answers
79 views

Date/Time input field

I am using Date time field. <apex:inputField type="datetime" value="{!ss.startDT}"/> When I save or do some operation The format gets changed when value is selected When Page gets refreshed ...
0
votes
0answers
28 views

Lookup inputfield in Visualforce with multiple item match

I have a visualforce page with a user inputfield (lookup) and is bind to an object at the controller. Whenever there are multiple matches to my search text, the first item in the list is always ...
0
votes
2answers
51 views

display fields from table and display as a textfield,with condition

I have fetch the data using query from apex.from two obeject with look up relation query is setCon = new ApexPages.StandardSetController(Database.getQueryLocator([SELECT ProgramName__c, ...
0
votes
1answer
137 views

Accessing custom object fields on visualforce page from custom controller

I am writing a custom controller and a visualforce page to take the input data from vf page and process the logic in controller. Here in vf page I am trying to pass two data values of different ...
1
vote
1answer
31 views

How to handle multiple input/output tags with the same fields in VisualForce

I have created a VisualForce page that is basically a wall of inputFields. I had a requirement to make all of the inputFields into outputFields when a certain event happens (the event happens, all ...
0
votes
1answer
274 views

Passing Picklist Values to Controller with InputField in VisualForce

I'm new to VisualForce and trying to figure out how to pass the values a user selected from a birthday picklist into my controller. The picklists are fields of my Contact object and one is dependent ...
7
votes
2answers
1k views

How to use <force:inputField> and <force:outputField> inside an <aura:iteration>

Here @Peter describes a very cool way to use a <force:inputField ... /> together with <aura:attribute name="YourObjectType" type="YourObjectType" default="{ sobjectType: '...
2
votes
0answers
318 views

Lightning Components: Using <force:inputField /> on a Lookup only works partly

Using a <force:inputField value="{!v.account.ParentId}" /> seems to have flaws running in a Lightning Community Issues Rendering: wrong/missing styles Link "Find more results" does not work ...
3
votes
1answer
374 views

How to populate picklist values in Lightning Componets according to the metadata definition?

In Visualforce, we didn't thought much about picklist-values (=options) on simple CRUD UIs - they where simply there using an <apex:inputField ... /> Now in Lightning I found this documentation ...
1
vote
1answer
92 views

Is there a way in Lightning to get a dynamic input type like <apex:inputField /> in VF

In Visualforce I loved it not to think about types of input-fields and go instead totally blind with an <apex:inputField ... /> letting the platform bother if a field is a textfield, checkbox, ...
2
votes
1answer
46 views

What is the proper API format for submitting compound fields?

I'm using the Salesforce SOAP API via the PHP library and trying to figure out the proper format to submit an Address compound field type. I've tried submitting as an associative array: [...
0
votes
0answers
48 views

Visualforce Alignment missing when Dependency picklist are added to page

Hi Friends Thanks in advance I have created Visualforce page with Dynamic multiadd functionalty, I have given Field dependency picklist values but I am facing some issues like • Field alignment ...
2
votes
1answer
325 views

apex:InputField Equivalent in Lightning framework

I am new to Lightning framework. I imported lightning design system files into the visualforce page. Now I wan to use apex:inputfield with lightning design. I don't want to use html tag because I ...
0
votes
2answers
132 views

Visualforce inputfield focus by keypress

I wanted an expert's advice on how should i bind my input text field to a particular keyboard keys (Ctrl + P) such that the text field gets in focus. Also, how should i make dynamic growing text ...
3
votes
1answer
247 views

Issues saving apex:inputfield values to object in controller. Only last field on form saves value

Here's my issue: As per code below, I am trying to display a number of fields dynamically and then allow the user to enter values and save the record (or update it if they are viewing an existing ...
1
vote
2answers
160 views

apex:inputField not working properly on Salesforce1 lightning app after clicking on it

I created a simple Lightning Salesforce1 app based on a custom VF page. App is done for iPhone/iOS devices. Among others, in this VF page I added an editable box using the apex:inputField method, so ...
0
votes
1answer
215 views

Please , how to retrieve line items to Visualforce Email Template?

I try to create Visualforce Email Template in order to send our Purchase order (BC) to the supplier So I need to insert inside the mail , all (BC line items ) I begin to create HTML+CSS code , ...
2
votes
1answer
217 views

Visualforce inputfield for lookup not displaying clear icon

I've added a custom field to the Case standard object which is a lookup to Account, named Site__c When I create a visualforce page to allow for editing of the Site__c and Account fields on a Case, ...
3
votes
3answers
288 views

Show validation rule error next to the multiple field

The below validation rule works fine but I'm curious to know how can I show the required error message next to the field? As you can see below I have multiple fields and I have selected to show the ...
1
vote
1answer
47 views

Custom object isn't populated on Visualforce

i'm trying populate the fields of a custom Object. The object are being create but the informations used with InputField doesn't populate. Fragment of Visualforce <apex:actionRegion id="...
2
votes
2answers
731 views

Lookup field not populating on Visualforce page

I have a custom visualforce page and controller and am attempting to populate a lookup field on that page. Often the lookup will contain a value already, and I would like for the value to . According ...
2
votes
1answer
128 views

Error: Number is too large in inputField

I have a VF page where I am retrieving Employee records (detail) when clicking on particular Department (master) name using CommandLink. The records are retrieved using repeater. The thing is, ...
1
vote
3answers
231 views

Change focus away from date field in visual force page

I've tried using other code suggestions to change the focus to another field: document.getElementById('{!$Component.fOpportunity}').focus(); and changing the focus on load: <script>function ...
0
votes
1answer
103 views

Rerender after inputfield is filled

Right now, I have a VF page in which I need to pass at least one object to get a list from SF. The context: An application that is used to monitor bikes that are used by clients going from one point ...
1
vote
1answer
896 views

visualforce action support rerender not working

I am trying to display a field when the value in select option changes. The code is not executed when any change happen, because i am checking the value with status. My code : <...
2
votes
0answers
67 views

Why does this input fields conflict with each other?

I have two components that are conflicting with each other: component1: <apex:component > <apex:attribute name="cntact" description="A Contact for the component." type="Contact" ...
1
vote
0answers
45 views

Standard DatePicker always set empty

We have some date fields in VF pages which were working fine. Suddenly some of them are not working. When user select the date from date picker, always it sets empty string to the textbox. ATM don'...
2
votes
2answers
1k views

How to improve inputField alignment and width in Visualforce?

I am displaying inputFields in a pageBlockSection. Input fields do not seem to be aligned properly. I see fields of different sizes. They are only left aligned. Right side is varying. How to align ...
5
votes
1answer
4k views

Create VisualForce input that uses Lookup popup

I have a custom object, Foobar__c, and I would like to create a VisualForce page containing a form in which the user has to select a Foobar__c via the standard Lookup popup for Foobar__c. I would ...
0
votes
2answers
1k views

Pass inputField value to controller before a record is created/ saved

I'm trying to get the value of an apex:inputField on my vf page before the a record is saved/inserted. Here's my scenario. The user is presented with a blank form (all input fields on the vf page ...
2
votes
1answer
705 views

VF component dynamic inputField

I have the following component, <apex:component > <apex:attribute name="label" description="This is pretty name for this input" type="String" required="true"/> <apex:attribute name="...
1
vote
2answers
172 views

VF component inputField

So I have the following componenet, <apex:component> <apex:attribute name="label" description="This is pretty name for this input" type="String" required="true"/> <apex:attribute name="...
1
vote
0answers
505 views

Date and Number locale problem on html5 input type=date/number

Question Is there any chance to send data in generic date format (yyyy-mm-dd) in standard save method? I need to user apex:input type="date" (or number). But Salesforce save method is not ...
0
votes
1answer
924 views

Issues passing value from javascript/jquery to controller using hidden input

below is my code: public with sharing class myController { public String passedInString { get; set; } public PageReference passedInValue() { system.debug('Passed in value: '+...