The tag has no usage guidance.

learn more… | top users | synonyms

-1
votes
0answers
34 views

Can I bind two input field with one object's property?

<td class="td-desk"> <apex:inputfield id="famount" value="{!newTrade.Notional__c}" style="width:130px;"> <apex:actionSupport event="onchange" ...
0
votes
0answers
18 views

500 Internation Error if save RequestParameter(“field”) in @var

i have a problem with my Formular in my CloudPage. I want to store each Input field in a variable but if i try %%[ var @email, @message, @callback SET @email = RequestParameter("e-mail") SET ...
2
votes
1answer
54 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
40 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
55 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
64 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
101 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
41 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
204 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
57 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
85 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
24 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
61 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
311 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
50 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
30 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
459 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
798 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
410 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
287 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
75 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
262 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
472 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
203 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
758 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
157 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
86 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
115 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
59 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
990 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
2k 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
107 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
772 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
4answers
989 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
104 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 ...
3
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
775 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
878 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 ...
1
vote
2answers
898 views

Modify dependent inputField style

I'm experiencing an issue when trying to modify the style of an apex:inputField which is dependent from another one in a VF Page What I want to do is set the exact position of the inputField, its ...
1
vote
2answers
67 views

Is there a way to get the label of a value for an inputfield lookup in visualforce page?

I have a line that says: <apex:inputField required="false" value="{!sobject[fieldName]}"/> For a field that is a look up. In Salesforce, if the field is a look up the input field will also ...
0
votes
1answer
113 views

Storing time from input field

I am working on a form that has to contain a time input, maybe something like this figure. The problem is that there's no data type such as time, and I tried to use bootstrap timepicker but it ...
3
votes
1answer
3k views

onchange event is not triggered when clear an input field

I am invoking an look up field as an input field in my visual force page. Upon the selection or clearing of the value on the look up field, I want to update another part of the page. Here comes a code ...
2
votes
1answer
3k views

How get value apex:inputField on Apex Controller

My problem is the following : I ask the user to select a value (<apex:inputField value="{!GDT_Activity__c.Sandbox_Name__c}" id="GDTservice" style="width:50%;">), and then compare this value and ...
2
votes
1answer
4k views

apex:inputField can only be used with sObjects

I am trying to create a custom visualforce page that saves new opportunity contact roles to an opportunity. I am having trouble creating the first step of listing out all contacts that relate to that ...
3
votes
1answer
2k views

inputfield with type date using twitter bootstrap

I have a page that contain inputField with type (date), And I used bootstrap framework css and turned off the standard style sheet.. but the date field appeared without datepicker and i put ...
3
votes
1answer
556 views

Datepicker widget location issue

I have a visualforce page with a standard controller of a custom object, and within the page and inputfield that is tied to a custom date field of said object. I've dropped the VF page into the page ...
4
votes
1answer
952 views

Controller variables are not retrieving data from bound inputfields

I'm working on an interface that allows users to create activities directly from a list of records of a custom object, so I created a wrapper class that contains said object and a task, in order to ...
2
votes
3answers
3k views

Prefill visualforce inputfield from URL parameter without custom controller

Prefilling fields is easy on standard edit pages via an URL parameter, like .../a0B/e?Name=MyNameValue Doing this on a visualforce page does not work without custom controllers, or is there a way? ...
3
votes
4answers
3k views

Default Values in Visualforce Input Fields

This is one of the feature that was delivered "Winter 11" but looks like there are some limitation. The suggested feature seems to work only for the very first time when VF page loads but when a ...
3
votes
1answer
4k views

Difficulty with apex:param and apex:actionsupport

Trouble with Action Support Currently, I have been very successful with my page until I ran into a snag with my action:support tag. I simply need to collect an Id, collected on the a form, then ...