Drop List not requiring a selection
Does anyone know how to implement a droplist that does not require
an item to be selected? I would like to be able to have a drop list for
a query window where the user can optionally select something from
the list or leave it "blank". In other words, I don't always want an item
selected on a droplist.
Any help is greatly appreciated.
Troy
Troy Burns
Marriott Vacation Club Intl.
E-mail: [email protected]
Phone: (941) 688-7700 ext. 4408
Hi Troy,
Does anyone know how to implement a droplist that does not require
an item to be selected? I would like to be able to have a drop list for
a query window where the user can optionally select something from
the list or leave it "blank". In other words, I don't always want an item
selected on a droplist.We have done this by simply adding a (none) or (any) item at the top of the
list of items in the droplist. I think you can also put a blank element in?
Hope that helps,
Tim
Similar Messages
-
Song list not changing when selecting a new artist
I'm having problems with the Music app changing the song list when a new artist is selected. I'm in Artist view, select a new Artist however the song list of the prior artist being played remains. Seems to be an issue with my music. Not an issue with the music I downloaded from Amazon.
hello dolphingirl419, please go to firefox > addons > extensions & remove any suspicious entries (toolbars, things that you have not installed intentionally, etc). also go to the windows control panel / programs and remove all toolbars or potentially unwanted software from there and to a full scan of your system with the security software that you have in place.
[[Remove a toolbar that has taken over your Firefox search or home page]]
then go to firefox > help > troubleshooting information > "profile folder - show folder". a new window should open up - in case it does contain a file named user.js, please delete that and restart the browser.
you could also install the [https://addons.mozilla.org/firefox/addon/searchreset/ searchreset addon] afterwards, it will revert the settings that those kind of adware usually modifies to their default. -
Fonts that I dont have on my comuter are showing in FCP text drop list?
Ok I had downloaded a font last year when i was using fcp 6 and when I did a clean instal of my OS I forgot to save it so it got deleted. I never downloaded the font again. So now im using FCP 7 and when I go to enter some text on some footage that font appears in the drop list. I can selected it and apply it to the footage. But I checked my font book and did a search for that font and its not on my computer. so how is this possible?
Message was edited by: AzzieDepending on how you searched, Finder does not always look at all possible locations.
Fonts can be in the Following directories:
*Macintosh HD/Library/Fonts.* These fonts are installed by applications or the user. Available to all.
*Macintosh HD/System/Library/Fonts.* Installed by Mac OS X. Available to all. Do not tamper with the fonts in this folder.
*Macintosh HD/Users/user name/Library/Fonts.* Installed by and only available to that user account.
http://www.jklstudios.com/misc/osxfonts.html -
Have an onchange event in SPD to update a list based on user selection of data view drop down?
Hoping someone can point me in the right direction: I have a list for Media announcements, each one of these announcements will have various types of documents associated (via look up field in the doc library). I am trying to have a data form web part (dropdown)
as the selector (as I am not liking the SharePoint list filter feature) to have a user be able to select the Media Title, then it refreshes the three web parts on the page (1 for the announcement, then one for type1 docs and one for type 2 docs.)
What is the best way to create an onchange event to have the selected option be connected to the first web part (media title on a list view) so that the information on the page can all be filtered?Hi,
Would you mind providing more details about your requirement? Are there one Announcements list and two Document Library in a page?
Suppose you have one Announcements list and two Document Library in a page, then you want to add a Drop Down Menu(not the OOTB SharePoint List Filter Web Part) to filter the
three List View Web Part dynamically.
There will be two workarounds:
1. Use the OOTB “Connections” feature of the list to “Get Filter Values From” one of the three lists, then there will be a “Select” button in that list, we can click it to filter
other two lists/libraries. This is a way without code though we may not have the Drop Down Menu;
2. Add three <iframe> in a page, then add a Drop Down Menu in this page. Now, we will need some JavaScript to listen to the onchange event of this Drop Down Menu. We can
get the values populated in the Drop Down Menu from one of the column of one of the list, when making a selection in it, we can pass an URL with query strings to the three iframes which will show the three different lists or libraries.
The second way requires some code to interact with Client Object Model cause we need to get values from a list, some script to handle the onchange event, which seems more suit
with your need.
Here are some links might be helpful if you want to take the second way:
About how to find a specific element on a page using JavaScript:
http://javascript.info/tutorial/searching-elements-dom
Handle the onchange event using jQuery.change function:
http://api.jquery.com/change/
About query string to filter a list view:
http://techtrainingnotes.blogspot.com/2012/03/sharepoint-search-filter-or-sort-lists.html
About change the src attribute of iframe:
http://stackoverflow.com/questions/3730159/changing-iframe-src-with-javascript
http://www.w3schools.com/jsref/prop_frame_src.asp
Best regards
Patrick Liang
TechNet Community Support -
Drop list selected="selected"
On an edit page form fields are always filled with data from
the database for the chosen record. How can the following code be
modified so that the selected value of the drop list defaults to
the data from the database for the chosen record as it pertains to
the data for the drop list?
<select name="companyName" id="companyName">
<option>Please select a Company</option>
<option spry:repeat="dsVendors"
value="{dsVendors::company_name}">{dsVendors::company_name}</option>
</select>Hi Troy,
Does anyone know how to implement a droplist that does not require
an item to be selected? I would like to be able to have a drop list for
a query window where the user can optionally select something from
the list or leave it "blank". In other words, I don't always want an item
selected on a droplist.We have done this by simply adding a (none) or (any) item at the top of the
list of items in the droplist. I think you can also put a blank element in?
Hope that helps,
Tim -
How to get drop down list (list of values) in selection-screen
Hi al,
This is anilreddy. Please let me knew the solution
How to get the drop down list for a fieldin selection-screen (not in dialog programming)
(not as POV)
Regards,
anilreddyREPORT ZTESTPRG.
TYPE-POOLS: VRM.
DATA: NAME TYPE VRM_ID,
LIST TYPE VRM_VALUES,
VALUE LIKE LINE OF LIST.
PARAMETERS: PS_PARM(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
NAME = 'PS_PARM'.
VALUE-KEY = '1'.
VALUE-TEXT = 'LINE 1'.
APPEND VALUE TO LIST. VALUE-KEY = '2'.
VALUE-TEXT = 'LINE 2'.
APPEND VALUE TO LIST.
CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
START-OF-SELECTION.
WRITE: / 'PARAMETER:', PS_PARM.
Thanks
Mahesh -
Drop down required for select-options
drop down required for select-options as displayed in VT01N 'shipment type'.
Hi
Check out..this example
data: i_value TYPE vrm_values,
wa_value LIKE LINE OF i_value.
PARAMETERS : p_field TYPE dd03l-fieldname AS LISTBOX
VISIBLE LENGTH 80 OBLIGATORY.
INITIALIZATION.
*-- Populate List Box
*-- TEMKSV - Legacy Value
wa_value-key = 'TEMKSV'.
wa_value-text = 'Legacy Key'.
APPEND wa_value TO i_value.
CLEAR: wa_value.
*-- Installation
wa_value-key = 'INSTLN'.
wa_value-text = 'Installation'.
APPEND wa_value TO i_value.
CLEAR: wa_value.
Setting the selection
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'P_FIELD'
values = i_value.
Patil -
Alias required in SELECT list of cursors to avoid duplicate column names
I got some error messages while compiling the following.
DECLARE
alert_id NUMBER;
CURSOR cur_search IS SELECT c.item_description,
d.name modelname,
SUM(b.quentaty),
SUM(b.balence)
FROM item_procurement_history_dtl a,
item_procurement_history b,
item_master c,
model_master d
WHERE a.item_code = b.item_code
AND a.lot_no = b.lot_no
AND a.item_code = c.item_code
AND b.modelcode = d.modelcode
AND (c.item_description LIKE '%'||:blk_stock_search_fields.item_name||'%' OR :blk_stock_search_fields.item_name IS NULL)
AND (d.name LIKE '%'||:blk_stock_search_fields.modelname||'%' OR :blk_stock_search_fields.modelname IS NULL)
AND (a.status = :blk_stock_search_fields.status OR :blk_stock_search_fields.status IS NULL)
GROUP BY c.item_description, d.name
ORDER BY c.item_description, d.name;
BEGIN
GO_BLOCK('blk_stock_search_fields');
CLEAR_BLOCK(NO_VALIDATE);
FOR i IN cur_search LOOP
:blk_stock_search_data.item_name := i.item_description;
:blk_stock_search_data.modelname := i.modelname;
:blk_stock_search_data.tot_qty := i.tot_qty;
:blk_stock_search_data.available_qty := i.available_qty;
NEXT_RECORD;
END LOOP;
FIRST_RECORD;
GO_ITEM('blk_stock_search_fields.pb_search');
END;
The error is as follows :-
Error 403 at line 23 column 2
Alias required in SELECT list of cursors to avoid duplicate column names.
What will be the solution for this error?
Thanx and Regards,
VikasVikas,
The problem is that you are referencing a column name in your LOOP that does not exist in your CURSOR. Therefore, Oracle has interpreted this to its BEST guess Exception. This can be resolved as follows:
DECLARE
alert_id NUMBER;
CURSOR cur_search IS
SELECT c.item_description,
d.name modelname,
/* You need to ALIAS the product of the SUM() so you can reference it by name.*/
SUM(b.quentaty) AS tot_qty,
/* Same issue here, you must ALIAS the SUM() of Balance in order to reference it by a name.*/
SUM(b.balence) as available_qty
FROM item_procurement_history_dtl a,
item_procurement_history b,
item_master c,
model_master d
WHERE a.item_code = b.item_code
AND a.lot_no = b.lot_no
AND a.item_code = c.item_code
AND b.modelcode = d.modelcode
AND (c.item_description LIKE '%'||:blk_stock_search_fields.item_name||'%' OR :blk_stock_search_fields.item_name IS NULL)
AND (d.name LIKE '%'||:blk_stock_search_fields.modelname||'%' OR :blk_stock_search_fields.modelname IS NULL)
AND (a.status = :blk_stock_search_fields.status OR :blk_stock_search_fields.status IS NULL)
GROUP BY c.item_description, d.name
ORDER BY c.item_description, d.name;
BEGIN
GO_BLOCK('blk_stock_search_fields');
CLEAR_BLOCK(NO_VALIDATE);
FOR i IN cur_search LOOP
:blk_stock_search_data.item_name := i.item_description;
:blk_stock_search_data.modelname := i.modelname;
:blk_stock_search_data.tot_qty := i.tot_qty;
:blk_stock_search_data.available_qty := i.available_qty;
NEXT_RECORD;
END LOOP;
FIRST_RECORD;
GO_ITEM('blk_stock_search_fields.pb_search');
END;Just an observation. Also, There are some misspellings in your cursor. Does this match your table?
Hope this helps.
Craig... -
I bought an I pad 2 from us but I can not activate the Facetime in UAE(Dubai)as I can not see the country in the I pad's drop list, anyone has an idea as to how to resolve this issue
I'm not that familiar with how FaceTime works. I know how to set It up but I don't use it. I just know that you can't activate in the UAE. I believe that you can activate in any country that permits it's use. Whether you will need a new ID or not, I can't confirm.
You can Google this and get all sorts of articles on workarounds. Apparently if you set up a VPN you can use it in the UAE. Here is one article that I found.
http://talkfree7.blogspot.com/2010/09/how-to-facetime-voip-call-from-uae.html
I Googled "workaround for FaceTime in UAE" to find this. -
Cascading Select Lists - Not Working for me
I am trying to implement Denes Kubicek's Ajax Cascading Select List solution.
http://apex.oracle.com/pls/otn/f?p=31517:119
But it is not working for me.
I'm a newbie to APEX and checked the forum for advice on cascading select lists. I saw the thread for
"Cascading Select Lists - Not Working" posted by sue and the replies by Varad Acharya, but I'm still
having issues of not seeing the alerts, not able to run the pl/sql process in SQL Workshop, and not
getting the expected results.
I have a list of countries (US - USA, CA - CANADA, etc.) and a list of states for each country. When a
user selects a country I would like to show the list of states within that country.
This is what I've done so far:
Defined an application process:
Process Point: On Demand: Run ... by a page process.
Name: CASCADING_SELECT_LIST1
Process Text:
BEGIN
OWA_UTIL.mime_header ('text/xml', FALSE);
HTP.p ('Cache-Control: no-cache');
HTP.p ('Pragma: no-cache');
OWA_UTIL.http_header_close;
HTP.prn ('<select>');
HTP.prn ('<option value="' || 99 || '">' || '- All States -'
|| '</option>'
FOR c IN (SELECT state_code || ' - ' || state_desc d, state_code r
FROM tbk_state
WHERE country_code = :cascading_selectlist_item_1)
LOOP
HTP.prn ('<option value="' || c.r || '">' || c.d || '</option>');
END LOOP;
HTP.prn ('</select>');
END;
defined and application item:
Name: CASCADING_SELECTLIST_ITEM_1
Build Option: - No Build Option -
Created a 'Form on a table with report' as follows:
Page 5: Report on TBK_HARDWARE_LOCATION
Page 6: Form on TBK_HARDWARE_LOCATION
in HTML Header of the page attributes for 'Form on TBK_HARDWARE_LOCATION' I have:
<script language="JavaScript" type="text/javascript">
<!--
htmldb_delete_message='"DELETE_CONFIRM_MSG"';
//-->
</script>
<script>
function get_select_list_xml1(pThis,pSelect){
var l_Return = null;
var l_Select = html_GetElement(pSelect);
alert ('Dept no=' + pThis.value);
var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
'APPLICATION_PROCESS=CASCADING_SELECT_LIST1',0);
get.add('CASCADING_SELECTLIST_ITEM_1',pThis.value);
gReturn = get.get('XML');
// gReturn = get.get();
alert('Enames=' + gReturn);
if(gReturn && l_Select){
var l_Count = gReturn.getElementsByTagName("option").length;
l_Select.length = 0;
for(var i=0;i<l_Count;i++){
var l_Opt_Xml = gReturn.getElementsByTagName("option");
appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
l_Opt_Xml.firstChild.nodeValue)
get = null;
function appendToSelect(pSelect, pValue, pContent) {
var l_Opt = document.createElement("option");
l_Opt.value = pValue;
if(document.all){
pSelect.options.add(l_Opt);
l_Opt.innerText = pContent;
}else{
l_Opt.appendChild(document.createTextNode(pContent));
pSelect.appendChild(l_Opt);
</script>
On Page 6: 'Form on TBK_HARDWARE_LOCATION' I have the following items (plus some others):
Name: P6_COUNTRY_CODE
Display as: Select List
HTML Form Element Attributes: onchange="get_select_list_xml1(this,'P6_STATE_CODE');"
Source Used: Only when current value in session state is null
Source Type: Database Column
maintain session state: Per session
Source value or expression: COUNTRY_CODE
Named LOV: LIST OF COUNTRIES
Name: P6_STATE_CODE
Display as: Select List
Source Used: Only when current value in session state is null
Source Type: Database Column
maintain session state: Per session
Source value or expression: STATE_CODE
Named LOV: - Select named LOV -
List of Values definition:
select state_code || ' - ' || state_desc d, state_code r
from tbk_state
where country_code = :P6_COUNTRY_CODE
order by 1
LIST OF COUNTRIES is defined as:
select country_code || ' - ' || country_desc d, country_code r
from tbk_country
order by 1
Now to the problem:
I run page 5 (the report) to see the list of locations and then I try to edit a record (page 6). When I
try to select a different country I get the following error (on IE):
"Problems with this web page might prevent it from being displayed properly or functioning properly.
In the future, you can display this message by double-clicking the warning icon displayed in the status
bar.
Line: 17
Char: 5
Error: Object expected
Code: 0
URL: http//cmrac4.cm.timeinc.com:7777/pls/htmldb/f?
p=114:6:1413254636072443110::::P6_HARDWARE_LOCATION_ID:2
I don't see any of the alert messages.
I also tried to run the application process code in the SQL - Command Processor (I replaced
:cascading_selectlist_item_1 with 'CA' or 'US') and got the following:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh
button, or try again later.
Only one top level element is allowed in an XML document. Error processing resource
'http://cmrac4.cm.timeinc.com:7777/pls/...
<select><option value="99">- All States -</option><option value="X1">X1 - X1</option><optio...
Can someone help me please?Varad,
First, thank you for taking the time to try to help me with this problem.
When I view the page's source code (here are the first few lines):
<html lang="en-us">
<head>
<script src="/i/javascript/core.js" type="text/javascript"></script>
<link rel="stylesheet" href="/i/css/core.css" type="text/css" />
<script language="JavaScript" type="text/javascript">
<!--
htmldb_delete_message='Would you like to perform this delete action?';
//-->
</script>
<script>
function get_select_list_xml1(pThis,pSelect){
var l_Return = null;
var l_Select = html_GetElement(pSelect);
//alert ('Dept no=' + pThis.value);
var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
'APPLICATION_PROCESS=CASCADING_SELECT_LIST1',0);
get.add('CASCADING_SELECTLIST_ITEM_1',pThis.value);
gReturn = get.get('XML');
// gReturn = get.get();
//alert('Enames=' + gReturn);
if(gReturn && l_Select){
var l_Count = gReturn.getElementsByTagName("option").length;
l_Select.length = 0;
for(var i=0;i<l_Count;i++){
var l_Opt_Xml = gReturn.getElementsByTagName("option");
appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
l_Opt_Xml.firstChild.nodeValue);
get = null;
function appendToSelect(pSelect, pValue, pContent) {
var l_Opt = document.createElement("option");
l_Opt.value = pValue;
if(document.all){
pSelect.options.add(l_Opt);
l_Opt.innerText = pContent;
}else{
l_Opt.appendChild(document.createTextNode(pContent));
pSelect.appendChild(l_Opt);
</script>
It looks like line 17 is:
var l_Select = html_GetElement(pSelect);
I'm still not sure why I'm getting this error and why it's not working?
Thanks,
Eti -
I am trying to download a free trial of photoshop for my macbook pro and it says there is an error and that the requirements for the new version is not supported for the mac I have. I have looked at the list of requirements but have no idea how to tell what I do and do not have?
Apple Menu --> About this Mac.
Mylenium -
Dear All,
I created a text field in my project (Light switch 201, C#), this text field has a static list which I filled manually. when I click in this text box I get a dropp down list which allow me to chose only one value from it.
Now what I want to do is to add a check box in this drop down list and allow mulity selection from this list. My list looks as follow:
Can anyone help me :) ?
Thanks all,
ZayedSomething like this:
http://www.codeproject.com/Tips/452756/Add-checkbox-inside-combobox-in-Silverlight -
ORA-30563, Outer Join not allowed in select list
I can not find any information about this error message that I am getting.
I have just upgraded my Oracle database from Version 7.3 to Version 8.1.7, a stored procedure that was written in v7.3 has outer joins in the select statement.
when trying to run this proc in version 8 I get this meesage.(ORA-30563, Outer Join not allowed in select list)
code ex:
Select alt.id
decode(alt.advise, NULL, NULL, AA.act_yr(+))||'-'||AA.act_per(+)||'-'||AA.Acc_per_no(+)) as advise_no
from alt, AA;
Is there any information about this message anywhere? or does anybody know if this is a known issue with oracle ver 8.1.7?
Thanks
CJIt appears to have been a bug in 7.x
From a metalink note on bugs fixed in 8i (doc 132632.1)
974742 Oracle does not report an error if (+) is specified in select-list. The OUTER JOIN operator (+) is only valid in WHERE clause predicates. As this is not flagged as an error the query can give unexpected results. The correct action to avoid this problem is to fix the query.
Ken -
Outer Join problems - "ORA-30563 outer join operator (+) not allowed in select-list"
Products: Discoverer 4.1.33.0.2
(Admin and User/Plus)
8i EE 8.1.7 (Discoverer server)
8i EE 8.1.5 ('source data' server)
Background assumptions: (1) If a column from an "outer-joined" table is compared to a constant, the outer join operator must be applied to that column in order for the outer join to work. (2) A 'Condition' specified in Discoverer User/Plus manifests as a comparison to a constant.
I created a join in Admin between two folders, selected 'outer join on detail' option. In User/Plus, created worksheet containing columns from the joined folders. When no Conditions are NOT specified, results seem ok. However, when Condition IS added, worksheet encounters "ORA-30563 outer join operator (+) not allowed in select-list" and returns blank sheet.
To workaround, created Custom folder with outer join in place. Didn't work either with Conditions specified. No error, but I think that because Discoverer did not 'outer join' the Condition column, the outer join was ignored.
Any insights, ideas, or workarounds are much appreciated.
-JimIf you build a query that uses an outer join then any items from the potentially deficient side of the join will have (+) appended to them everywhere in the sql. Up until 8.1.7 this was OK in the select list as it was just treated as noise and ignored - However this now fails with ORA-30563:
outer join operator (+) not allowed in select-list...
In 4.1.33.1.6 you get the error 'ORA-30563 outer join operator(+) not allowed in select list'.
In 4.1.36.1.10 the query runs OK.. Your work around I would guess would be to create a custom folder as you suggested. -
Proposal list not displayed correctly when selected with a layout
Dear All
I have an issue with payment proposal list.
When i select EDit tab on F11o and click on proposal list, i can see the proposal list for all company codes selected in parameters.When i click on change layout the system asks me maintain variant and when i click on yes it shows me the list only for one company code.
the new layout only shows me list for exception items and does not include payment proposal items from another company code...
can somebody please help
thanks
sanjeevEarly implementations of the POJO Factory set the default display size to 12, which caused corruption in the display starting from the 12th character when the size exceeded the display size.
Would you try specifying the MemberColumnDisplaySize property for that column in POJOResultSetFactory to reflect the actual size?
Sincerely,
Ted Ueda - Developer Support
Maybe you are looking for
-
Faces is missing so many faces... any way to get it to rescan?
Is there a way to get Faces to re-scan my library (without losing what I already have tagged)? It took about 2 hours for it to scan my library initially but as I go through and tag, I am seeing hundreds upon hundreds of photos where perfect faces are
-
My iphone can't find a telephone network
Hi, I bought my iPhone a year ago and it was working pretty well until it couldn't find phone networks anymore. I(ve already tried restoring and it didn't work. please help me! thank you P.S : sorry if I make mistakes when I write, I'm french
-
How to prevent changing DNS server address
I work for a public school district. We just purchased our first batch of Win 8.1 PCs, but they are not the Pro version, so there is no gpedit. I want to prevent students from accessing the TCP/IPv4 Properties dialog box in order to ensure that the
-
My ipod got wet and half works
my ipod got wet and still turns on but doesn't work when i plug it into my laptop
-
How to call a procedure which returns out parameter in form personalization
Dear All, I have one procedure which is having 2 parameter in and one parameter out . The question is how to get the parameter out in from personalization in a local or global variable? Thanks