The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
83 views

selectList onchange not working

I have a VF page in which Im displaying set of records in pageblocktable. There is a dropdown List (Sort By) with values. Name, Program and a commandButton named 'Reverse Order'. So, when I ...
0
votes
3answers
423 views

Set Visualforce whoid with jquery

I have recreated the Task Edit page in VF. If I have a contact Id in a jquery variable, how can I set that Id to the Name field so that when the Task record is saved, the correct contact is saved? ...
2
votes
1answer
965 views

get selected item from selectList and passing to controller

I'm trying to get the value of selected list and passing it to the controller but my code does not work ! I have tried to do this. <apex:selectList value="{!facility}" size="1"> ...
4
votes
2answers
171 views

I can't seem to get my selectList to set its bound variable

I apologize if this question is quite similar to the others involving selectList. I have read over them but can't seem to find the solution to my issue. So I figured after a few days of plugging ...
1
vote
1answer
590 views

apex select list with required = true not displaying validation error message

Validation error message is not displaying when select list is none or blank.Also I need to hide the buttons Submit,MakeAnonymous and Cancel button when clicked on either Submit and MakeAnonymous ...
3
votes
1answer
326 views

Visualforce page using SelectList, returns Recently Viewed - can I specify a List View?

I created a very simple VF page that I embed in an iframe on a home tab for a group of users, to show a select list of accounts, using an existing List View to filter the results. The issue is that ...
0
votes
1answer
792 views

Rerender based on SelectOption value on CommandButton Click

I have a visualforce page with a SelectList (with 3 select options) and a Command Button. Based on the selectList value chosen, I want to rerender few outputPanels below. Below are the complete ...
4
votes
2answers
2k views

Referencing a particular value of a select list

I have a visualforce list page that lists opportunity products and some of their fields. One of these fields is a lookup to a custom object. On each row in the visualforce page, the user is given the ...
2
votes
1answer
311 views

Is it possible to re-render select options for a SelectList based on selected options for other SelectList controls on the same page?

I am trying to figure out how I would dynamically update the SelectOptions for multiple SelectLists on the same visualforce page. I have a page where the user selects contacts that are associated ...
6
votes
2answers
400 views

Is there a way to group options in a selectList

Is there a way to group options in an apex:selectList I have in my page <apex:selectList styleclass="form-control rec" size="1" id="country" > <apex:selectOption ...
2
votes
2answers
375 views

Dynamic date select list creation

I need to create a drop down with date values Like March 28-April 27 February 28-March 27 January 28-February 27 December 28-January 27 November 28-December 27 October 28-November 27 September ...
3
votes
2answers
1k views

Want to create select option from Apex

I am trying to create a table from apex according to the no of rows and columns entered on the Vf page the apex code will generate a table. This much is working fine. Now i need to add a select option ...
7
votes
3answers
229 views

What's the deal with the “get” prefix for value methods?

Hi I'm new to salesforce and force.com but I am a coder so I am comfortable learning new languages. What I'm not comfortable with is the "get" prefix that I can't find a reference to in the docs. (At ...
0
votes
1answer
2k views

How to make a Cascading (Dependent) Select List (Drop Down) in a Data Table in VisualForce?

Outside of a data table, a cascading select list (or drop down) is done generically like so: <apex:selectList value="{!parentValue}"> <apex:selectOptions value="{!ParentOptions}" /> ...
0
votes
3answers
243 views

selectOption not working inside pageBlockSection

I have a selectOption inside a pageblocksection as follows <apex:page standardController="Account" extensions="MyController"> <apex:form> <apex:pageBlock> ...
0
votes
1answer
697 views

get set to apex:selectOption

I am trying to set a value from my controller to my apex:selectOption value. I have created a get set method and the value in the get set have been changed but no change at all in apex:selectOption. ...
2
votes
3answers
4k views

Visualforce SelectList value not setting on Rerender

I'm pretty sure I'm missing something really simple here. I've done this a number of times, but even using my past examples I just can't seem to get this to work. Scenario: I have a Page using a ...
2
votes
1answer
269 views

How to get a dependent drop down list and other as free text option?

I got a request to have 2 pick lists, with dependancy (that's easy to implement) but the request is to have in the controlling field: the option of: 'Other' When selecting Other - the value needs to ...
0
votes
1answer
4k views

Visualforce SelectList with default - Controller Setup

The Scenario: I have a selectlist on my page (1 value) with a list of options. I want it to default with an option. My page: <apex:page controller="mycontroller"> <apex:selectlist ...