Removing # and ALL values in drop down

Hi,
I have used a drown down box in WAD when I click the drop down box I can see the values like ALL, # ,how can I remopve these values'
Thanks
Priya

Hi... Not really a javascript expert, but I've changed a few lines in the code below. Pls check if it works for you as I haven't really tested it with the changes.
Notes:
Line 5: this line is used to get the values contained within the html tags. I am assuming the html tag for the drop down which contains these values is 'OPTION'. if not change to the appropriate tag.
Line 10: Added str=='ALL' to the if condition. I've also used str.length<50 so I don't select cells with large values. you can remove this if it is not applicable to you.
<SCRIPT>
window.onload=Init
function Init()
var Elements=document.getElementsByTagName('OPTION');
for(var i=0;i<Elements.length;i++)
var str=Elements.innerText;
var found=str.search(/Not assigned/)
if ((found >=0 || str=='#' || str=='ALL') && str.length<50)
Elements.innerHTML =' '
Elements=null
</SCRIPT>

Similar Messages

  • On my home computer, when I transfer from my iTunes library to iTunes store, I'm presented with an empty window. Tool bar at the top of the page is in view and all it's 'drop-downs' function. Any ideas?

    On my home computer, when I transfer from my iTunes library to the iTunes store I'm presented with a blank window. The tool bar is present and functional but regardless of what I do, the page remains blank. Any ideas?

    Hey DDStoker,
    It sounds like you may be experiencing issues with connecting to the iTunes Store. Try using the information in the following article to help you troubleshoot this issue:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • Why does my bookmarks toolbar start hiding my bookmarks when i add more bookmarks to the toolbar? how do i make all of them show and not have a drop down menu?

    i had recently installed new firefox and instead of my 20 bookmarks showing up all in the 1 toolbar, only 10 are shown and the rest are hidden to the right with the ">>" button.
    how the heck do i change it back to what i previously had? this is driving crazy! i want them all to show and not have to click the ">>" button and go through the drop down menu

    Removes text associated with your bookmarks and folders and gives you placement controls over bookmarks extending the functionality and usability of the Bookmarks Toolbar. Your Bookmarks Toolbar is now very Roomy and Smart!
    *https://addons.mozilla.org/en-US/firefox/addon/smartest-bookmarks-bar

  • In logic X I am trying to normalize but the track and file option in the edit window is not there at all just the drop down for pointer eraser etc. Any ideas? Thanks!..

    In logic X I am trying to normalize but the track and file option in the edit window is not there at all just the drop down for pointer eraser etc. Any ideas? Thanks!..

    Total life saver. Thank you

  • How to get the values of drop downs, which are gonna create at run time.

    As per my design requirement, I have to create drop downs in an ADF display table.
    The no# of rows of the table are gonna decide the no# of the drop downs. User can select the values from drop downs. My issue is, how can I capture the selected values of those drop downs as those are gonna created run time.

    Hi
    ohh ,ok ,then as u said that u r storing twenty values ,thats y i aksed earlier ,are these form values part of tbale ,or as u said 20 values are there ,for these u r creating 20 form values ???.
    My suggestion would be ,u do four calculation and put all your results in a hashmap ,and keep this hash map in to sesion ,using the following method
    pageContext.putTransactionTransientValue("HashMapName",myHashMap);
    and inside the PFR method when u want to display these values ,u can loop through your hashmap and can display these values.
    like this
    HasMap hm=pageContext.getTransactionTransientValue("HashMapName");
    thanx
    Pratap

  • Dashboard prompt issue  (Restricting Values in drop down) ????

    Hi Friends,
    In my report I have "days to start" column which list almost 10,000 values ranging from -1000 to 5000.
    I need to create a prompt for this report on "Days to Start" column.
    When I create a prompt on Days to start with Operator "Greater than" and Control "Drop Down List" it shows me all the values in Drop down.
    I need only specific Values like 30, 60, 90, 180 which might not be in the "days to start" column.
    If I select "SQL Result" what should be the SQL for that??
    Is there any other way to solve this problem
    Aprreciate your help on this
    Thanks

    You could make a table VALUES with 1 column and fill it with values like 30,60,90....then in sql you'd write SELECT * FROM VALUES....as simple as that
    (of course, it'd have to be in RPD, and you'd need to expose it in Presentation layer)
    Edited by: wildmight on Feb 19, 2009 8:18 AM
    Also, you could try this - it works for me - but it could be slower and you might want to figure out how to round it - also, it has to be a number or cast to number format
    SELECT Table."Column"/30 saw_0 FROM "Subj Area" ORDER BY saw_0
    Edited by: wildmight on Feb 19, 2009 8:29 AM

  • How to set default value for drop down box in jsf

    Hi,
    Can anyone help me to set the default value in drop down box using <af:selectManyChoice> ?
    As I know there is an unselectedLabel attribute in <af:selectOneChoice> but not valid attribute for <af:selectManyChoice>.
    Any help must be appreciated.
    Regards,
    AK

    Hi Frank
    My entity type is a List in managed bean. I have set the entityType in the constructor of the managed bean. I have attached my code here.
    TPSearchCriteriaBean.java****************************************
    /** Constructor */
    public TPSearchCriteriaBean() {
    super();
    entityType=new ArrayList<String>();
    entityType.add(UIConstants.LIST_ITEM_ALL);
    authorizationType=new ArrayList<String>();
    authorizationType.add(UIConstants.LIST_ITEM_ALL);
    companyType=new ArrayList<String>();
    companyType.add(UIConstants.LIST_ITEM_ALL);
    mrgStatus=new ArrayList<String>();
    mrgStatus.add(UIConstants.LIST_ITEM_ALL);
    legalStatus=new ArrayList<String>();
    setEntityType(entityType);
    setAuthorizationType(authorizationType);
    setCompanyType(companyType);
    setMrgStatus(mrgStatus);
    country = "0";
    //address = new AddressBean();
    UIConstants.java***********************************************************
    public static final String LIST_ITEM_DEFAULT = "select";
    public static final String LIST_ITEM_ALL = "0";
    LOVManager.java*****************************************************************
    public List<SelectItem> getLovList(String lovType, boolean requiredOption_SELECT, boolean requiredOption_ALL)
    log.debug("LOV loading for " + lovType + ": START");
    List<SelectItem> lovList = new ArrayList<SelectItem>();
    //check validity of lov loading request
    validLov:
    for (int i = 0; i < lovTypeArray.length; i++)
    if (lovTypeArray.equals(lovType))
    break validLov;
    log.debug("ERROR: LOV Type not valid.");
    return lovList;
    //First select is replaced by ALL here
    //<-- Select --> should be an option
    if (requiredOption_SELECT)
    lovList.add(new SelectItem(UIConstants.LIST_ITEM_DEFAULT, "--Select--"));
    LOVDao dao = new LOVDao();
    dao.loadLOVValues(lovType, lovList);
    log.debug("LOV Loading successful!");
    //<ALL> should be an option
    if (requiredOption_ALL)
    lovList.add(new SelectItem( UIConstants.LIST_ITEM_ALL, "ALL"));
    return lovList;
    Kindly help me.
    Regards,
    AK

  • How do I add State/Province and Country to my drop down list?

    How do I add State/Province and Country to my drop down list?

    Hi Gen,
    My problem is that I'm working with the free version of Form Central - I'm willing to purchase a version.  Earlier in my form I have States as a drop down menu (see below) but can't copy it to make it appear later in the same document. I was trying to avoid recreating the entire form. Any tips on copying or duplicating a field inside a document.
    Best Regards,
    Gina Grant
    ink + thread
    312.970.1106 (p)
    773.435.6474 (f)
    www.inknthread.com
    CPS Vendor #: 98626
    The information contained in this email is confidential, proprietary and may be legally privileged. This email is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact ink + thread by e-mail ([email protected]) and destroy all copies of this email.

  • How to capture selected value from drop down by index

    Dear friends,
    i want to capture the value of select value from drop down by index, for eg if  select air france, how to capture , could any one please let me know
    Thanks
    Vijaya

    Hi Vijaya,
    You can get the value of selected from drop down as below
    Check out the event handler method attached to Onselect event of the ui element drop down by index , if no event is associated, then create an event and attach to the drop down list
    Now you will be having the CONTEXT_ELEMENT in the WDEVENT parameter
                   data lo_element type ref to if_wd_context_element.
                   lo_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT').
    Now, you can get the static attribute value of selected  drop down value & let us say your drop down list values are populated from context node 'ND_DRP_DOWN'
                   data ls_data type wd_this->element_nd_drp_down.
                             lo_element->get_static_attributes(
                                       importing
                                       static_attributes = ls_data ).
    Hope this helps you.
    Regards,
    Rama

  • White and black dots in drop down menu?

    In all of my drop down menus there are little black and white dots that 'glitter' around as I move my mouse through it.  What is this, what is the cause, or just how do I fix it?

    Is it only Preview that you are seeing this problem? If no, then it could be a hardware issue. Make a Genius appointment. Troubleshooting and analysis are a free service at the Genius Bar.
    http://www.apple.com/retail/geniusbar/
    I am already running 10.9.3 so am not sure what good that would do
    Running the combo updater often fixes odd issues. It's easy to do and certainly don't hurt.
    MORE INFO ON WHY RUNNING COMBO FIXES ISSUES
    Apple updates available from the Software Update application are incremental updates. Delta updates are also incremental updates and are available from Apple Downloads (software updates are generally smaller than delta updates). The Combo updates contain all incremental updates and will update files that could have become corrupted.
    Combo updaters will install on the same version as they're applying--no need to roll back or do a clean install. So if you think you've got a borked 10.9.3 install from a regular update, just run the 10.9.3 Combo Updater on that system.
    "Delta" updaters can only take you from one version to the next. For example: 10.9.1 to 10.9.2. If somehow the 10.9.2 is missing something it should have, and that something isn't changed between 10.9.1 and 10.9.2 it will still be stale after the delta update.

  • All the menu drop-downs just flicker when I press them.

    All the menu drop-downs (File, Edit, View, etc.) don't display and hold when I press any of them. They flicker on but immediately the content disappears and all that's seen is a ghost outline of the drop-down box. This happens with the major menu items as well as all of the sub-menu items.

    Try to disable hardware acceleration.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"

  • I have made one field as drop down in web ui. there are 3 values in drop down suppose a, b , c.

    i have made one field as drop down in web ui. there are 3 values in drop down suppose a, b , c.
    now i want to make c value as default value in drop down what to do?

    Hello Bala,
    you can find number of discussions regarding this on SCN.
    Search and do code in DO_INIT_CONTEXT method of view to set the value in entity.
    lr_entity ?= me->typed_context->context_node_name->collection_wrapper->get_current( ).
          lr_entity->set_property( iv_attr_name = 'Attribute_name' iv_value = 'value' ).
    Regards Harish Kumar

  • Not able to set values in drop down for a table field

    Hi All,
    I am not able to set values in drop down for a table field. Although I am able to set these values to a stand alone field but its not happening for a particular table field. I am using ABAP web dynpro for coding.
    Pls help.
    Regards,
    Bhaskar

    Hi Otto,
    Here is the code I am using:
    * navigate from <CONTEXT> to <DATASOURCE> via lead selection
      lo_nd_datasource = wd_context->get_child_node( name = wd_this->wdctx_datasource ).
    * navigate from <DATASOURCE> to <CHANGING_PARAM> via lead selection
      lo_nd_changing_param = lo_nd_datasource->get_child_node( name = wd_this->wdctx_changing_param ).
    * navigate from <CHANGING_PARAM> to <EDUCATION_TAB> via lead selection
      lo_nd_education_tab = lo_nd_changing_param->get_child_node( name = wd_this->wdctx_education_tab ).
      node_info = lo_nd_education_tab->get_node_info( ).
      REFRESH ddlb_value_set.
      DATA: wa_edu_est TYPE t517t.
      SELECT * FROM t517t INTO wa_edu_est WHERE sprsL = 'EN'.
        s_element-text = wa_edu_est-stext.
        s_element-value = wa_edu_est-slart.
        APPEND s_element TO ddlb_value_set.
      ENDSELECT.
      SORT ddlb_value_set BY text.
    *    Set Value_sets to node_info
      node_info->set_attribute_value_set(
         name      = 'EDU_EST'
         value_set = ddlb_value_set ).
    Regards,
    Bhaskar

  • How to add values to drop down list in adobe forms

    how to add values to drop down list in adobe forms

    Hi,
    If you are using WD Java following are steps of filling values in DD Box:
    1 Create a simple type in the Dictionary.
    2 Create an attribute "CountryNew" in the Context of type created by you.
    3 Write following code in the init method of the form:
    IWDAttributeInfo countryinfo =
                   wdContext.nodeEmployee().getNodeInfo().getAttribute("CountryNew");
    ISimpleTypeModifiable Country = countryinfo.getModifiableSimpleType();
    IModifiableSimpleValueSet countryValueSet =
                   Country.getSVServices().getModifiableSimpleValueSet();
    countryValueSet.put("IN", "INDIA");
    countryValueSet.put("US "USA");
    4 Add a Enumrated DD box in the form and bind it to the attribute "CountryNew"
    Hope this helps
    Amit

  • Populating values to drop down list in Adobe Forms

    Hi,
    We have added a drop down list in our adobe form. Our requirement is Payment Terms should be displayed in this drop down list. We tried by adding values to drop down list in object palette window by using '+' sign. But now we want to display values dynamically from table T052U. We need to bring two fields ZTERM and TEXT1. We don't want to use database connection, just from a table as an importing parameter it should be appended to this list.
    Atpresent, we don't want to use webdynpro or java for getting values.
    Please provide suitable answers.

    hi,
    cretae simple type in data dictionary i don't have any idea to create simple type in adobe forms.
    For creating Simple Type------in Dictionary->Local Dictionary->Data Type->Simple Type(here right click u get  create simple type).and after that choose Enumaration Here u can add values
    and create a node WITH one attribute and this attribute is off Type of that simple type u created in local dictionary and bind that node with interactive form data source property ,now in interactive form drag and drop that attribte from your dataView Run your application  these values will populate in your Interactive form.
    Regards
    Trilochan

Maybe you are looking for

  • GPO to disable hibernation on Windows 7 not working

    We have set a power plan for Windows 7 with sleep and hibernate after set to "0." This works to the extent that the machines stay running online all day and never sleep or hibernate automatically. However, hibernation is not truly disabled because th

  • Calendar: Month View mode shows all days with "dots"

    Hiya, I've got a problem with my calendar on the iPhone showing dots (symbolizing an appt on that day) for every day of the current month. I don't have appointments on every single day, so the bug is really affecting my ablity to check the month at a

  • Spot Removal VERY slow in LR CC

    Doing my tests and the spot removal is atrociously slow...what gives?

  • Help On New "Test Configuration Tool"

    I am testing a simple Configuration Scenario using Test Configuration in Integration Directory.   I have Given the Necessary Header Information along with the Payload (From SXMB_Moni).   The Execution stops at the interface Determination and Mapping

  • Merge difficulties

    I have created a tri-fold brochure in landscape format. On one side in the center panel, I have inserted a text frame, and rotated it 90 degrees for insertion of addresses from my database file. When I merge, there are 2-3 addresses overlapping in th