Questions tagged [selectoption]

The tag has no usage guidance.

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
300 views

<optgroup> functionality in salesforce

Good day everyone, I want to create a select in salesforce which look is similar to html tag optgroup. I want create an option within an option. Is it possible ? If yes, how will I do it ? Thanks...
2
votes
0answers
643 views

Rendered not working translated picklist value radio buttons

Im trying to translate visualforce page. I have used custom labels to built the page. the page is translated good. For picklist values I used the below code, the picklist values are also translated ...
1
vote
0answers
154 views

'actionSupport' is not working when inputField is included in same 'form'

What I am doing ? I have 3 fields in an object Account(lookup to Account),User(Lookup to User) and Permissions(Multi select picklist). I needed to only show few values from all the values in ...
1
vote
0answers
42 views

Loop over null throws error in Production but not Sandbox?

I'm trying to debug someone else's code where they're trying to populate a visualforce picklist with options from the controller. Without going into detail, the page is failing to load because the ...
0
votes
0answers
16 views

Align the select options in Visualforce page

Visual force page has four radio buttons. When embedded in the iframe on a website, the radio buttons are not aligned correctly. If I preview the page or see the page by clicking the URL from under ...
0
votes
0answers
23 views

Ability to show validation rule errors next to Stage on VF page when restricting some stage values using selectoption

Here's my vf page: <apex:column headerValue="Stage" id="stageerrors"> <apex:actionRegion > <apex:selectList value="{!opp.opp.StageName}" multiselect="false" size="1" > <apex:...
0
votes
0answers
115 views

CSS - Salesforce Picklists extra padding/margin on standard layouts? > select option

This seems to happen only in Chrome - I have tried the following: Removed all extensions Removed Profile Reset all flags Reset Settings Reinstalled Chrome I even navigated to google\chrome\user ...
0
votes
1answer
357 views

apex:selectList isn't working with apex:actionRegion

I am building a Single App Application and got this error on a vf page: apex:inputFile can not be used in conjunction with an action component, apex:commandButton or apex:commandLink that specifies ...
0
votes
2answers
172 views

How to fix: rendered=“false” on a selectoption causes further selectoptions within the repeat to not render

<apex:repeat value="{!myList}" var="item" id="myRepeater"> ... <apex:selectList required="" value="{!item.newValue}" id="mySelectlist" multiselect="false" size="1" style="border:none;-...
0
votes
1answer
105 views

Value of SelectList not getting captured

I have a Selectlist in my Visualforce page and I'm passing the values from the controller. The value selected is not getting captured. The code is given below. Visualforce page <apex:page ...
0
votes
1answer
42 views

Send a List to other Page (apex and visualforce)

The idea: Do a search, and shows a List with Select Option Select some items and send it to a new Page (just those witch I selected) The problem: In the new page, is showing all the searched list ...
0
votes
2answers
3k views

Visualforce Select vs HTML Select - Mapping Values

I have been looking at using a select list (picklist) in a Visualforce page form. Below are four methods of doing this. Each has it's own positives, however, i would like to know which is the best ...
0
votes
1answer
200 views

Preserve ListView in Visualforce and Apex

I have overriden a tab with Visualforce page. I have used standard controller and the following markup to display different views: <apex:selectList value="{!filterId}" size="1"> <apex:...
0
votes
0answers
200 views

Items not rendering when they should in apex:selectOption

I am using a picklist to control navigation. This is controlled through a huge list of items that are displayed on screen. <apex:selectOption itemlabel="Edit Task Status" rendered="{!NOT(ISNULL(...