The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
29 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
14 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
34 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
37 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
21 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
125 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
463 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
96 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
145 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
48 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
26 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
28 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
155 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
69 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
187 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
1answer
105 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
140 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
143 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
181 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
46 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 ...
2
votes
2answers
501 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
88 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
131 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
0answers
47 views

Stop facet show only after action in ActionStatus

I need to Save a value only after calling Save method in ActionStatus and remove after the page is refreshed next time. But vales are shown even after the page is refreshed.can someone please help me ...
0
votes
1answer
87 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
562 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
60 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
37 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 ...
2
votes
2answers
833 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 ...
4
votes
1answer
2k 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
780 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
479 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 ...
1
vote
2answers
123 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 ...
1
vote
0answers
416 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
682 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: ...
1
vote
1answer
276 views

Prepopulate visualforce picklist and checkbox from URL parameter without custom controller

I am trying to pass a number of parameters to a form using javascript and was successful following the post here: Prefill visualforce inputfield from URL parameter without custom controller ...
0
votes
1answer
1k views

Using Bootstrap with Visualforce Lookup field

I'm using a prefixed version of Bootstrap to create a Visualforce page where you will lookup a User with a jQuery autocomplete component. The component autohides the SF standard lookup features. I'm ...
4
votes
1answer
256 views

User input to an array in Visualforce

I have a Visualforce page that collects user input for 125 integer variables that are then used by the controller to create records. I'd rather use an array instead of defining all those variables, ...
2
votes
2answers
98 views

Populating standard name field with a case number

I am trying to populate the standard name field of an object with the case number. I have tried to use an apex class to accomplish this. Here is the code I used: GW_Volunteers__Volunteer_Job__c ...
0
votes
1answer
164 views

Lookup Window From SelectList Option

Here's the deal: I have a search field that searchs the object selected from the list, presenting the results below in a table. But in my next step, i want to add the lookup icon next to the text ...
1
vote
2answers
66 views

Saving an empty Rich Text Field, but it is returning <br> in the UI

I have recently added a Rich Text Field to an object, the field is not mandatory when creating a new object. It has a minimum character limit of 10 (I'm not really sure what the character limit is for ...
4
votes
1answer
1k views

how to use apex:inputField type of time

According to the docs on apex:inputField: http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inputField.htm I can use type="time". However when I try this with a date-time field ...
0
votes
4answers
3k views

how to show the validation error below the input field in VF page

I have used the following code for the email validation and the validation is working fine but I would like to show the error like the the image. how to do that? My Code: <apex:pageBlock ...
1
vote
2answers
122 views

Removing inputField causes visualforce page to error out

I have created a page and am currently converting the page to use bootstrap. I was using an apex:inputField and nothing is wrong except that inputField does not accept disabled as an attribute. So I ...
2
votes
1answer
1k views

use bootstrap tooltip with apex:inputfield

I have a visualforce that I have built using bootstrap 3.2 but I want to enable a tooltip on one of the input boxes. I have not been able to make this work yet. Does anyone know how to do this? I ...
9
votes
3answers
1k views

Does anyone know how to make input work properly on iOS devices in Salesforce1

So iOS has some major bugs with input objects in iFrames, the upshot of which is that if you use input fields in a Visualforce page in the Salesforce1 mobile app, you get to deal with those bugs. If ...
0
votes
1answer
154 views

How can setup automatic word wrapping for apex inputField or apex inputText?

I try to use a apex inputField or apex inputText Control, but the Text is shown still centered and in one single Line/Row. What do i have to change that the Text starts from the Left-Top-Side and ...
4
votes
1answer
2k views

Apex InputField value binding error

Why I will get all the time this error? Could not resolve the entity from value binding '{!order.test}'. <apex:inputField> can only be used with SObjects, or objects that are ...
0
votes
2answers
1k views

How do I get pass the id of the inputfield to a javascript in visualforce?

Forgive me if this is very easy to do, but I'm having problems, specifically, no ID gets passed to the javascript. I have MULTIPLE input fields defined like this <pageblock> ...
2
votes
1answer
1k views

Passing ID of an apex:inputfield to javascript

I'm new to developing visual force pages and forgive me if this is an easy question but I'm having problems getting the ID of an apex:inputfield and passing it to javascript. What I'm trying to do is ...