Can I disbale a list box?

Can I disbale a list box in JSP.
I want to have a list box disabled if the user is not form a certain place.
So the user will choose their country from a list box and then depending on where they are from another list box will either be disabled or enabled?

Something like this?
<%   if( ! userIsFromWroungCountry() ) {&>
<!-- HTML Code for listbox goes here -->
<% } %>Since I don't know how you check from which country the user is, I just added a psuedo-method in the if-statement. I take it you know how to check that.
/J

Similar Messages

  • In version 16 and 17, I can't open a list box from a site, but with version 15 (and bellow) that works just fine.

    In a site I have a box, with a list of values, but in version 16 and 17 I can´t open that. Version 15 and bellow didn't have any problems to open the list of values.

    Any errors in the Web Console (Web Developer > Web Console;Ctrl+Shift+K) or Error Console?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How can I place a "List box" on a report?

    XI31 SP3
    Similar to input controls,  however, I want to be able to show a webi report as a dashboard within infoview (dashboard tab),  but I need a "list/combo" box for user interaction.
    Is there a way to do this?

    Hi Michael,
    Left panel input controls cannot yet be inserted into WebI report, but WebI allow to use report elements as input controls.
    You can therefore insert a table in your report, and use it as a selection list : you just need to insert and design a vertical or horizontal table from a single dimension, and use it as an input control : select the table and start report element input control wizard from the contextual menu command called Define as input control....
    BTW, You can also use this feature on charts.
    Hope that helps,
    David.

  • How To Enable a List Box To accept  Multiple Selection

    Dear all,
    How can I enable a List box to accept multiple selection.If any body can please help me.
    Thanks a bunch in advance
    Regards
    Rakesh

    The only problem is, the XML form data only contains the first selection made. All others are discarded. This is the first thing I've ever done with the Life Cycle Designer but the product seems somewhat in a version 1 state. Lots of features but no depth. Any suggestions about the XML?

  • "Dynamic List Box with Single Selection" Survey Suite in CRM 6.0

    Hi
    I am using CRM 6.0. There in Survey Suite there are 2 answering options "Dynamic List Box with Single Selection" & "Dynamic List Box with Multiple Selection". I am able to make out, how we can assign values to this. I have seen example "Example_Dynamic_survey" also.
    I believe we have to use programming for populating this. But how do we have to carry that out.
    Thanx and Regards
    Hitesh

    Hi Hitesh,
    There is no need of programming for populating values for Answer category 'List Box with Single Selection' or 'List Box with Multiple Selection'. You have to follow the following steps to populate values for those:
    - In the Answer Category select List Box with Single Selection from drop down list
    - Then on left hand side tree, right click on Answer and select Insert Answer Option (Answer->Insert Answer Option)
    - Then on right side, provide Text for the answer (value)
    - To add more values, repeat the process Answer->Insert Answer Option and providing text for those answers in the right side.
    Similarly you can populate values for 'List Box with Multiple Selection' also.
    This has to be done in the transaction CRM_SURVEY_SUITE.
    Hope this is clear to you
    regards
    Srikantan

  • List Box Combo box linkage

    Hi,
    I have a dashboard with a regional filter that has the same 5-metric associated to each region.  I'd like my regional global combo box to filter by each indexed metric, for example, if I select KPI 2 and Global from the combo box, I'd like the index 2 to display in order chart data indexed to 2. Each metric has a unique index # associated to each regional metric, for example:
    Index      Region    Metric
    1             Global     KPI 1
    2             Global     KPI 2
    3             Global     KPI 3
    4             Global     KPI 4
    5             Global     KPI 5
    6             NA          KPI 1
    7             NA          KPI 2
    8             NA          KPI 3
    9             NA          KPI 4
    10           NA          KPI 5
    I've selected Row as the Insertion type with two series types (Global and NA).  Each series type has it's own sourced data but all point to the same destination row (A:26:C26).  I have the combo box inserting the regional source value to the cell where the list box inserts the region B26.  When I preview only one series (NA) from the list box is dynamic, meaning  if I select KPI 2 the spredsheet selector displays the region (NA) and Index 7, but when I switch regions, to Global, it's not linked to the list box and properly capturing the new index # 2.  How can I link my list box with two series (Global and Region) to filter by Region combo box?

    Hi Araceli,
    I do not fully understand your problem (I don't understand what the listbox does). But what might work a lot easier for you is to use the Filter option and not split comboboxes. That way Xcelsius can sort it out for you without having to write too much logic.
    Or are you already using a filter?

  • How can I have multiple-selection list box "select at least one checkbox" option active only when the section it's in is visible?

    Hi, I'm using SP13 and InfoPath2013.
    I created a custom form and published it to SP13 document library.  This form has many MSLB.  Depending on the checkboxes selected in the 1st MSLB, the other MSLB will either hide or show.  Each MSLB is in its own section.  The requirement
    is to have each MSLB to have at least one checkbox selected.  Well, the problem is that when that MSLB isnot checked in the 1st MSLB it is not visible and shouldn't require any checkbox to be selected.  However, the form can't get submitted instead
    an error dialog would pop up and ask user to make a selection for MSLB that is not even displayed.  Is there any way to fix this besides unchecking all MSLB to be not required at least one selection?  Thank you.

    Eric, 
    I follow your reply post here and still doesn't work.  I also noticed your screen shot of selecting a field is not the same as what I see in InfoPath 2013.  
    Here is what I did, 
    1.Check At least one selection required for
    these Multiple-selection List Boxes
    as you want .
    2.Create a Formatting  rule for the 2nd
    Multiple-selection List Box.
    3.Add a  Condition as below:
    4.  I get a validation error if I don't
    select at least one checkbox in the hidden MSLB control when submitting.
    I think I'm following all the steps correctly
    but please let me know if I'm not.

  • How can I export multiple selections in a list box into a .csv file?

    Hi all, I've created a form in Acrobat X with a list box enabled for multiple selections. When I try to export the filled out form into a .csv file, only the first selection shows up. Can anyone help me figure out how to get all selections to export? Thanks!

    Thank you for your quick response!
    Once a recipient fills out the form (which has two questions with list boxes and multiple selection enabled) they send the completed form back to me. When I open the completed form, I am given the option add the completed form to a reponse file which was set up when I distributed the form. When I open the reponse file, it lists all of the responses in rows, and the values that were chosen in the form are arranged in columns. In this file, the list boxe columns have multiple values, separated by commas (which is what I'm looking for). At this point there is an option to export into a .csv file or an .xml file. If I choose the .csv file and open in excel, only the first selection shows in the list box column rather than all selections that were initially made by the responder.

  • How can I add new value in a list box in a screen

    Hi All ,
        In transaction CRMD_BUS2000120 (CRM Server), I need to add one value to the list box. Already 4 values are coming. How can I add 1 more value.
      any suggestion is very appreciated.
    Thanks & Regards,
      Shekar.

    Hi,
    Check you have any exits to do that, if there are no exits then you can Copy the program and change the code.
    to add the extra value in list box, you just have to append the new line to the internal table which you are passing to VRM_SET_VALUES FM.
    some thing like this..
    wa_list-key  = sy-tabix.
    wa_list-text = itab1-vbeln.
    Append wa_list to It_list.
    v_name = 'P_VBELN'.
    call function 'VRM_SET_VALUES'
      exporting
        id                    = v_name
        values                = It_list
    EXCEPTIONS
       ID_ILLEGAL_NAME       = 1
       OTHERS                = 2
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Regads
    vijay

  • Put hp recipe box on new laptop but can not get grcery list to iphone

    put hp recipie box on new laptop can not sync grocery list to i phone can any one help

    Please Get the iPad User Manual for iOS 5.

  • How can we use list box on selection screen

    hi, howe can we use list box on selection screen and how can we populate the dat ainto the list box and how can we retrive data based on list box from ther database.
    thanks in advance
    raju

    Use the VRM_SET_VALUES function module.
    DATA: list              TYPE vrm_values,
          value             LIKE LINE OF list.
               AT SELECTION SCREEN OUTPUT
    AT SELECTION-SCREEN OUTPUT.
      name = 'P_OBJECT'.
      CLEAR list.
      REFRESH list.
      CLEAR value.
      value-key = '1'.
      value-text = 'Development Class'.
      APPEND value TO list.
      CLEAR value.
      value-key = '2'.
      value-text = 'Program'.
      APPEND value TO list.
      CLEAR value.
      value-key = '3'.
      value-text = 'Function Module'.
      APPEND value TO list.
      CLEAR value.
      value-key = '4'.
      value-text = 'Database Table'.
      APPEND value TO list.
      CLEAR value.
      value-key = '5'.
      value-text = 'Structure'.
      APPEND value TO list.
      CLEAR value.
      value-key = '6'.
      value-text = 'View'.
      APPEND value TO list.
      CLEAR value.
      value-key = '7'.
      value-text = 'Data Element'.
      APPEND value TO list.
      CLEAR value.
      value-key = '8'.
      value-text = 'Table Type'.
      APPEND value TO list.
      CLEAR value.
      value-key = '9'.
      value-text = 'Class / Interface'.
      APPEND value TO list.
      CLEAR value.
      value-key = '10'.
      value-text = 'Type Group'.
      APPEND value TO list.
      CLEAR value.
      value-key = '11'.
      value-text = 'Domain'.
      APPEND value TO list.
      CLEAR value.
      value-key = '12'.
      value-text = 'Search Help'.
      APPEND value TO list.
      CLEAR value.
      value-key = '13'.
      value-text = 'Lock Object'.
      APPEND value TO list.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = name
          values          = list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.

  • How can i create list box and  dropdown in my report?

    dear experts
    how can i create list box and  dropdown in my report?
    thanks  in advance

    Pl. see the code given below.
    REPORT Z_LISTBOX.
    Data declaration ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TYPE-POOLS: VRM.
    DATA: NAME  TYPE VRM_ID,
          LIST  TYPE VRM_VALUES,
          VALUE LIKE LINE OF LIST.
    Selection screen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PARAMETERS: PS_PARM(10) AS LISTBOX VISIBLE LENGTH 10.
    AT SELECTION SCREEN OUTPUT ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    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.
    Regards,
    Joy.

  • Can I attach a specific action to a choice in a list box or combo box?

    I have a list of 26 sports that I would like people to choose from--in either a list box or combo box or any other tool that would work best. When they choose a particular sport, I would like another PDF to appear with the roster for that sport for this year, allowing them to check off certain players.  Is this possible? Everything I see is in javascript or some other language that I don't know.
    Thanks.
    Anne

    I am piling on Gary's question, as I would like to know the answer as well. But first a little more color in case there is another way to do this....
    When I get an email, I usually take some sort of action. I currently do not have a good way to note the actions I have taken against any particular email. This is why I want to know how to attach a note or a To Do to a particular email. I thought the To Do list would work, but when I type a To Do with a particular email sometimes it appears in the list and sometimes it doesn't.
    So my goal is to have a way to create a history of action against a particular email.
    Gary, I hope this is a valuable extension to your request as opposed to a diversion from your original intent. With any luck together we'll get a bit more traction for your request.
    Thanks.

  • Is there any option to be set so that the multicolum​n list box column and row can't be editable on run time

    In my application i am using multicolumn list box. Usually while running the program the column width is editable.
    in my program i should be able to select or hightlight the row , but should not be able to edit the row or column size.Is there any property node that have to be set so that the multi column list box colum widthshould not be  editable while the program is running.
    binoy

    Can't you just right-click and disable column resize?
    Message Edited by Michael Aivaliotis on 09-19-2005 11:54 AM
    Michael Aivaliotis
    VI Shots LLC
    Attachments:
    multicolumn.gif ‏10 KB

  • Getting multiple values from a list box

    Hi,
    I am not able to get multiple selected values from a list box using the getParameterValues(). I used the following code..
    String[] names=request.getParameterValues("lname");
    can anyone tell me what the error is or is there any other way i can get multiple selected values from a list box.
    Thanks
    Satish

    Fragment 1
    This is the JSP Code am using for testing
    <%
    String[] name =request.getParameterValues("D1");
    if(name.length==1)
    String value=name[0];
    Instead of name.lenght==1 try with name!=null
    Fragment 2
    out.println(value);
    replace the above fragment with
    %>
       <%-- print result -->
       <%=name[0]%>
    <%
    Fragment 3
    else
    %>
    The list box D1 is a multiple select list box.
    If it still doesn't work, check that the checkboxes have the same name as well as different values
    <input type="checkbox" name="D1" value="1">
    <input type="checkbox" name="D1" value="2">I hope this helps :-)
    Good luck
    touco
    ps: i want duke

Maybe you are looking for

  • Deploying a war file to Sun Application Server 9

    Could somebody help please? Is the process of preparing and deploying a web application the same in sun app server 8 and 9? Could someone provide an example or some help? I do have a connection pool and it pings but the deployed app does not run the

  • Moving user configuration to other location

    I have seen several topic regarding changing the user configurtion location and my question is the already solved in dreamweaver version 8. thanx in advance

  • Manual sort in Smart Album?

    I want to drag and drop pictures to reorder them in a Smart Album. Seems I've read you can do this but the Manual option is not available (gray) in the drop down. Any advise?

  • Any SAP standard report is used to retrieve the inventory number based Asse

    Hi all Any SAP standard report is used to retrieve the inventory number based Asset ID. Please help us to provide the standard report. Regards K.Gunasekar

  • Columns in Select Statement

    Does the column selected in the select statement will effect the table access. I have a query selecting 10 columns from different tables using joins and inline views. One table is going for a Full table Scan. When I searched for the cause, I couldn't