Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
33 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
34 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
34 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
80 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
199 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
1answer
44 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
148 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 ...
7
votes
1answer
157 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
34 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
531 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
131 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
200 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
162 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
37 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
50 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
827 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
965 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
1k 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 ...
2
votes
1answer
701 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
259 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
785 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
1k 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
1k 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
2k 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 ...
4
votes
4answers
3k views

Problem rendering textarea/inputField/inputTextArea in pageBlockTable ( Internet Explorer 11 only )

We've run into an html rendering issue on a Visualforce page running on Internet Explorer 11. We're nesting an inputField for a Long Text Area field in a pageBlockTable, but when the value for that ...
5
votes
1answer
433 views

Avoid expanded focus of first DateTime apex:inputField

I have a Visualforce page that sets the focus to the first apex:inputField when the page is loaded. Being a DateTime this expands out the calendar date picker control and obscures a number of other ...
2
votes
1answer
2k views

VisualForce page showing some fields and not others

I'm relatively new to Salesforce and have ran into a problem. I want to display a simple form, but the fields won't show. I created a the same form again, but in a different way that would take more ...
9
votes
2answers
762 views

New HTML5 Apex:Input issue

I'm trying to use new Input and InputField with type attribute. I need to use the date or datetime type as follow: <apex:input value="{!birthdayDate}" type="date" styleClass="select-box"/> ...
3
votes
2answers
1k views

Disabled attribute not present for apex:inputfield. Any alternatives?

Unlike for components such as apex:selectList, apex:inputText etc., apex:inputField doesn't provide a Disabled attribute which is unfortunately exactly what I need right now. Could there be any ...
5
votes
2answers
758 views

How do I get a value from a look up input field?

I am using the apex:actionSupport control to execute some code when the apex:inputField it is associated to, has its value changed. The apex:inputField is a look up field, so it spawns a new window ...
3
votes
1answer
423 views

How can I get the field type of an inputfield displayed within a repeat tag?

Background I have a Map of sObjects and a List of API field names (from Custom Settings) to dynamically control the fields that display in a table on a Visualforce page. Here's the Apex to get all ...
3
votes
2answers
388 views

Validation rule to pass a Value to a text field by validating another text field

I am having two textfields consider A and B. When i enter a value for B, the corresponding value should be passed in Field A. FOR EXAMPLE : Field A is Dependant on Field B Values IF Field A IS ...
0
votes
3answers
821 views

rendering input fields depending on other selection

So I have a picklist which selects a type of reward this then should render certain input fields depending on which you option you select on the reward picklist. I got it to work with divs in HTML but ...
1
vote
3answers
136 views

How to narrow down statuses to specific Campaign

I'm building a custom VF page with a form to input data about interactions with campaign members. I have this element on the form: <apex:inputField value="{!campaign_member.status}"/> ...
3
votes
1answer
796 views

Visualforce layout prevent component column wrap

I have a Visualforce custom object EDIT page with a controller extension that's used by multiple profiles. I've created a two-column layout by embedding the input fields in an ...
2
votes
1answer
1k views

Validation error message shows for all Inputfield in pageblocktable

I have a custom page with standard controller and extension. I have a page block table with inputField to display the account lookup. When the page is submitted with the wrong Account value in account ...
3
votes
3answers
2k views

<apex:inputfield> without SObject bound

There is any way to create an standard input field on VF without bind it to an SObject field ? I was searching on G unsuccessfully. My approach was something like this: <vapex:inputField ...
4
votes
1answer
466 views

Removing dot (thousands separator) in a numeric apex:inputField

I have one field "MyYear__c" on my custmon object. This field has following details: Data Type: Number Length: 4 Decimal Places: 0 At the visualforce page it looks like this: <apex:inputField ...
1
vote
1answer
360 views

Passing disbaled input fields values to apex controller

I have a JavaScript function that fills some apex:inputfields and make them disabled so the user cannot change their values. But it seems that values aren't passed to the controller after an action ...
7
votes
2answers
2k views

Visualforce markup used to display a required password field, with field type “password”

Inside a pageBlock with mode="edit", I'd like to show a required inputField with the type set to "password" instead of "text". When I use inputSecret, even with required="true", it doesn't show the ...
3
votes
2answers
1k views

InputField not editable when in Edit Mode

I am rendering a VF page in Customer Portal and hoping to use inputField. Issue is that the field is not showing as editable, this happens when rendered from the portal (as a portal user) and my in my ...
8
votes
3answers
2k views

Date input taking into account users time zone offset

I have an input field that is binding to a backing Task in the controller to allow users to enter a date into the ActivityDate field. I'm not interested in any other fields on the Task. I'm just ...