Surveys - dynamic list box option

Hi,
How can I control the entries for the answer category "Dynamic list box with single selection"?
Thanks,
Susana Messias

Hello Susana,
To maintain dynamic values for a specific answer, select your survey in the Survey Suite and go to the maintenance of survey attributes (CTRL+F12). Under the tab 'Technical settings', you can maintain the 'Callback to PBO' function module, which allows you to modify the survey at runtime. (The function module you specify here is called by the survey tool runtime environment at PBO.)
As an example, you can have a look at the function module 'CRM_SVY_EXAMPLE_DYNAMIC_PBO', which contains a section to set answer options at runtime. Of course, you would have to program your own logic to meet your specific requirements for setting the values.
I hope this helps.
Kind regards,
Kristoff

Similar Messages

  • "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

  • Populating a Dynamic List Box in CRM Survey

    Hi All,
    I am currently creating a CRM Survey and am trying to use the 'Dynamic List Box with Single/Multiple Selection' options, but cannot see how i can populate these lists. I get the following error message when selecting the 'Insert Answer Option:
    'Dynamic list boxes' cannot contain statistical answer options'
    I have tried this through both Survey Suite and UI, but cannot go any further. Can anyone point me to where i can populate this list? Sounds like possible a backend table, but i cannot find which one.
    Many Thanks
    Indi

    Would anyone be able to help please?
    Thanks
    Indi

  • How to use dynamic list box in survey builder?

    Hello,
    Could someone give me a little bit of thread? How to use dynamic list box in survey builder?

    Hi Liu,
    Dynamic combo boxes::A combo box is dynamic if it references a document property for which a value set is defined in the configuration (System Administration ® System Configuration ® Content Management ® Global Services ® Property Metadata ® Properties ® Parameter Allowed Values).
    At runtime (when you open the creation form) the system reads these values from the configuration and displays them in the dropdown list.
    If you link a combo box for which list entries already exist to a document property with a value set, the system asks whether you want to delete the list entries. it is recommend that you accept this suggestion and delete the list entries from the XML Forms Builder. Otherwise inconsistencies could arise between the entries in the XML Forms Builder and the value set in the configuration. This can cause errors when saving.
    Also you may Refer the Link for Further help:
    http://help.sap.com/saphelp_crm50/helpdata/en/29/c40d3d2a83752de10000000a114084/frameset.htm
    http://help.sap.com/saphelp_crm50/helpdata/en/00/9e7f41969e1809e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_crm50/helpdata/en/a7/5a874174a8050de10000000a1550b0/frameset.htm
    Hope it Answers your Queries..
    Thanks and Regards,
    RK.

  • Display selected items in dynamic list box

    I need to display the selected items in a dynamic list box -
    this worked great - but now client wants multiple selected. I do
    have the items comma delimited in single field (but I can change
    that if I need to) - so how do I make those items display as
    selected in list. I'm using asp and standard dreamweaver list based
    on a recordset.

    There is a better approach. I faced a similar problem and put all the logic in a Javascript function. I modified my code to suit your needs.
    My HTML will have the following.
    <body onLoad="javascript:initLanguages();">
      <form name="languageForm">
        <select size="1" name="languagesList">
        </select>
      </form>
    </body>I created a Javascript function
    <script language="Javascript">
      //-- put all your languages here in a Javascript Array if they are fixed.
      //-- If you get the langauges from a Java object (dynamic or configurable), generate the Javascript in that object and insert a scriptlet in the HTML that plugs in the generated Javascript into this HTML. If so, take care of the quotes and double quotes. They are tricky !!!
      var languageArray = new Array("Fran?ais", "English", "Espanol", "Deutsch", "Italiano");
      function initLanguages ()
        var listCounter = 0;
        for (var ind=0; languageArray != null && ind < languageArray.length; ++ind)
          var obj = eval("new Option" + languageArray[ind]);
          eval("document.languagesForm.languagesList.options[listCounter]=" + "new Option" + languageArray[ind]);
          if(document.languagesForm.languagesList.options[listCounter].value == "<%= selectedLanguage %>")
            document.languagesForm.languagesList.options[listCounter].selected = true;
          listCounter += 1;
    </script>
    selectedLanguage is something you get in the Java code
    <%
      selectedLanguage = myObj.getSelectedLanguage();
    %>

  • Changing the selection screen based on the option in list box option

    Hi Experts,
    I have a list box parameter in my selection screen,
    i have four options and i am changing my selection screen based the option selected.
    see my code below,
    at selection-screen output.
      GS_VRM_VALUES-KEY = '1'.
      GS_VRM_VALUES-TEXT = TEXT-S02.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      GS_VRM_VALUES-KEY = '2'.
      GS_VRM_VALUES-TEXT = TEXT-S03.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      GS_VRM_VALUES-KEY = '3'.
      GS_VRM_VALUES-TEXT = TEXT-S04.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      GS_VRM_VALUES-KEY = '4'.
      GS_VRM_VALUES-TEXT = TEXT-S05.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      CLEAR: GS_VRM_VALUES.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          ID                    = 'P_DROP'
          VALUES                = GT_VRM_VALUES
      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.
    LOOP AT SCREEN .
        CASE P_DROP .
          WHEN '1'.
            IF SCREEN-GROUP1 = 'M2' OR
              SCREEN-GROUP1 = 'M3' OR SCREEN-GROUP1 = 'M4'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN '2'.
            IF SCREEN-GROUP1 = 'M3' OR SCREEN-GROUP1 = 'M4'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN '3'.
            IF SCREEN-GROUP1 = 'M2' OR
                SCREEN-GROUP1 = 'M4' .
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN '4'.
            IF SCREEN-GROUP1 = 'M2' OR
            SCREEN-GROUP1 = 'M3'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN OTHERS.
            IF SCREEN-GROUP1 = 'M2' OR
               SCREEN-GROUP1 = 'M3' OR SCREEN-GROUP1 = 'M4'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
          screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
        ENDCASE.
      ENDLOOP.
    my problem is when i change the option in the list box, the particular modify group ie, the screen is getting changed only after i press enter, So please suggest me how i can change the screen without pressing enter.

    Hi,
    without using VRM_SET_VALUES...you just create one data element by going se11....create one domain for it...now give the values in the "value range" tab....and at the time of declaration just write ..
    PARAMETERS var1 TYPE <your created data element>
                        AS LISTBOX VISIBLE LENGTH 20
                        USER-COMMAND onli
                        DEFAULT <one value>.
    You will get the same effect as list box....and make it mandatory..
    Arunima

  • Syncronizing Three Dynamic List boxes

    I have three list boxes which are populated by cfquerys. If
    the first one changes the other two must change.
    If the second changes the third one has to change and the
    first one stay the same.
    I submit the form to inself each time the the boxes are
    clicked. I'm using javascript to set the action to the same page
    each time. I have it working if I change the first list box but not
    when I change the second list box. Thanks in advance.
    Here is the code for the first, second and third list box and
    the java script.
    <td><select name="site"
    onchange="submitForm('selected');">
    <cfoutput query="qGetMarketSites">
    <option value="#qGetMarketSites.site#"
    <cfif form.site eq #qGetMarketSites.site#>
    selected
    </cfif>
    >#qGetMarketSites.market#
    </option>
    </cfoutput>
    </select>
    </td>
    <td><select name="city" size="1" onchange="
    <cfset form.prevSite=form.site/>;
    submitForm('selected');">
    <cfoutput query="qGetCitys">
    <option value="#qGetCitys.city#"
    <cfif form.city eq #qGetCitys.city#>
    selected
    </cfif>
    >#qGetCitys.city#
    </option>
    </cfoutput>
    </select>
    </td>
    <td><select name="npanxx" size="1"
    onchange="submitForm('selected');">
    <cfoutput query="qGetNPANXXS">
    <option value="#qGetNPANXXS.npanxx#"
    <cfif form.npanxx eq #qGetNPANXXS.npanxx#>
    selected
    </cfif>>#qGetNPANXXS.npanxx#
    </option>
    </cfoutput>
    </select>
    </td>
    <script type="text/JavaScript">
    function submitForm(submitFrom)
    if (submitFrom == 'selected')
    alert(document.form.site.value);
    alert(document.form.prevSite.value);
    document.form.action="getAssignment2.cfm";
    form.submit();
    else
    _CF_checkform(document.form);
    if (_CF_error_exists == false)
    if (document.form.port_Indicator[1].checked)
    if (document.form.foreign_DN.value == " ")
    alert('Foreign DN must be populated');
    else
    document.form.action="selectInventory.cfm";
    form.submit();
    else
    document.form.action="selectInventory.cfm";
    form.submit();
    //-->
    </script>

    hai,
    here is the sample code.
    write it in onchange of list1.
    var a1=document.form.list1.selectedIndex;
    for(i=0;i<document.form.list1.length;i++)
    if(i!=a1)
    document.form.list2.options=new Option(document.form.list1.options[i],document.form.list1.options[i],false,false);
    else
    i--;
    i think this may help u out.
    regards,
    ravi

  • Open a tabbed panel from a dynamic list box

    Hi all,
    I have Spry tabbed panelks working fine on my site, "click on button and open selected panel", great.
    Is it possible to have a list box populated from an SQL table and when an item in the list box is selected open the appropiate panel.
    The SQL table has three feilds, RecordID, Description, TabID.
    Example:
    RecordID
    Description
    TabID
    1
    USA
    0
    2
    United Kingdom
    0
    3
    France
    1
    4
    Spain
    1
    From a select list I select France "TabID 1", I would ike this selection to open the Tabbed panle which holds info about France.
    Select list code:
    <code><form id="form1" name="form1" method="post" action="">
                        <select name="select" class="searchbox" id="select" onchange="TabbedPanels1.showPanel('dontarget')">
    >
                          <option value=" ">Please select your airline...</option>
                          <?php
    do { 
    ?>
                          <option value="<?php echo $row_checkin_airlines['TabPanel']?>"><?php echo $row_checkin_airlines['AirlineName']?></option>
                          <?php
    } while ($row_checkin_airlines = mysql_fetch_assoc($checkin_airlines));
      $rows = mysql_num_rows($checkin_airlines);
      if($rows > 0) {
          mysql_data_seek($checkin_airlines, 0);
       $row_checkin_airlines = mysql_fetch_assoc($checkin_airlines);
    ?>
                        </select>
                      </form>
    </code>
    Tabbed Panle code:
    <code>
    <div id="TabbedPanels1" class="VTabbedPanels">
        <ul class="TabbedPanelsTabGroup">
          <li class="TabbedPanelsTab" tabindex="0"><img src="images/one_world_button.png" width="192" height="124" border="0" /></li>
          <li class="TabbedPanelsTab" tabindex="0"><img src="images/star_alliance_button.png" width="192" height="124" border="0" /></li>
          <li class="TabbedPanelsTab" tabindex="0"><img src="images/sky_team_button.png" alt="" width="192" height="124" border="0" /></li>
          <li class="TabbedPanelsTab" tabindex="0"><img src="images/others_button.png" width="192" height="124" border="0" /></li>
          <li class="TabbedPanelsTab" tabindex="0"><img src="images/no_online_checkin_button.png" width="192" height="124" border="0" /></li>
        </ul>
        <div class="TabbedPanelsContentGroup">
          <div class="TabbedPanelsContent">
         // followed by the pabel content
    </code>
    Many thanks for any help you can provide.
    Best regards,
    Dereck

    Have a look at the following
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet">
    </head>
    <body>
    <select name="myChoice" onchange="TabbedPanels1.showPanel(Number(this.value));">
        <option value='-1'>Please choose...</option>
        <option value='0'>USA</option>
        <option value='0'>UK</option>
        <option value='1'>France</option>
        <option value='1'>Spain</option>
    </select>
    <hr>
    <div id="TabbedPanels1" class="VTabbedPanels">
      <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0">Tab 1</li>
        <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
      </ul>
      <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">Content 1</div>
        <div class="TabbedPanelsContent">Content 2</div>
      </div>
    </div>
    <script src="SpryAssets/SpryTabbedPanels.js"></script>
    <script>var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");</script>
    </body>
    </html>
    Gramps

  • JSP (no java code), taglibs and dynamic list boxes

    Hi,
    Can anyone recommend a few examples of JSPs using Tag Libraries to represent a dynamic dropdown box in a form? We are trying to learn how to incorporate tag libs into our pages so we have no code on the JSPs. We currently have a JSP that uses dynamic dropdowns, but the all the code is in the JSP. Most examples we find use either static data or just output data into a table with taglibs. But our pages use many dropdowns, inputs, etc... for updates and inserts. We are using JSPs, servlets, and tags which will get data from EJB's (stateless and entity). (We are also using WEblogic Server 7.0 if that makes any difference) If you know of some good examples or tutorials that show how to accomplish this, it would GREATLY help us out!!
    Thanks!

    Check out Struts, they have an HTML taglib that does exactly what your talking about. http://jakarta.apache.org/struts

  • Dynamic list box

    how to execute queries with the selected item in list box ? I
    want to have an sql queiry that will generate when someone selects
    an item in the list box. I know this is done in the where clause.
    But my skills in javascript are not that good. Can this be done in
    dreamweaver? If so do they have instructions on how to do it? Or
    can someone give me an example on how this can be done?
    thanks in advance

    ok... :) You don't need skills in javascript for this. SQL
    and a server side language will do just fine.
    What is your working server side language? PHP, ASP,
    ColdFusion, JSP...?
    Regards

  • Dynamic List Boxes

    I have 2 listboxes. The second I want to be populated depending on the selection of the first (connecting to an access backend). I know I need to use the onchange event in javascript, does anyone have a code example of how this is done?

    hai,
    here is the sample code.
    write it in onchange of list1.
    var a1=document.form.list1.selectedIndex;
    for(i=0;i<document.form.list1.length;i++)
    if(i!=a1)
    document.form.list2.options=new Option(document.form.list1.options[i],document.form.list1.options[i],false,false);
    else
    i--;
    i think this may help u out.
    regards,
    ravi

  • Flash Lite 2 component:XML List Box Lite for Dynamic Flash Lite 2 application

    XML ListBox Lite is the Flash Lite UI component lets you
    create XML driven dynamic lists for your Flash Lite 2 mobile
    applications!
    XML ListBox Lite is a Flash component for Flash Lite 2.0
    application development for mobile phones. Creating a lightweight
    dynamic list box for Flash Lite application becomes as easy as a
    snap using this component. Now no more the Flash Lite application
    developers need to be worried about creating dynamically populated
    list box that will work on nearly every symbian series 60 models
    which support Flash Lite 2.0.
    XML ListBox Lite comes handy when you plan to create a
    dynamic list which is populated with the data sourced from a simple
    XML file , such creating a play list for your Flash Lite MP3 Player
    application, creating a list for a shopping catalogue etc.
    XML ListBoxLite is a complete solutions for creating
    customized xml driven dynamic lists in Flash Lite 2 mobile
    application development.
    The basic features of the component are:
    Create Unlimited Number of Tabs: XML ListBoxLite can populate
    any number of tabs and provides proper visualization and navigation
    of these tabs.
    Fully Functional Scrollbars: The scrollbars position ratio is
    auto adjusted by the number of tabs that appear in the list, which
    gives the users whether any tabs are left in the list to scroll.
    Display Tabs as per needs: This list component allows you to
    display any number of tabs from the range of 8, 4, 2 and 1, at any
    instance. This serves the need for example when you have more text
    to display you can choose 4 or 2 tabs so that you need not
    compromise on the content side.
    Customize the Look and Feel: You can set any color as
    parameters for different elements of this list component so that it
    will fit your application seamlessly.
    Virtually zero time to implement: This component does not
    require any extra programming in FlashLite 2.0 Action script to
    display your contents. Just update the xml list and it is ready for
    use.
    Lightweight and User friendly: XMLListBoxLite offers you
    great glossy look and advanced features within just 17 KB . The
    user experience is also magnetic.
    More details at:
    http://esspl.com/flashcomponents/xmllistboxlitehome.asp

    Hello there,
    I am have a similar kind of problem. I am trying to run a video on Pocket PC (WM5) using video.play() method on FlashLite 2.1. It works fine in Device Central and my Nokia mobile (symbian OS with default FlashLite 2.1). Video is obviously embedded in FlashLite 2.1 and was originally in *.3gp format.
    Can you please help me where I am going wrong or what am I missing ?
    As ever,
    Vinayak Kadam

  • Problem in using the list box

    hi,
    i have developed a dynamic list box, in html using java script.i have taken two list boxes. the values of second list box depends on the value selected in the first list box. after selection i was moving to the next page,then after i was moving back to original page, then the value of the second list box is changing.so how to retain the value of the second list box.
    Help ASAP,
    thank you,bbye

    Either store it in the session scope, or pass it as a (hidden?) parameter along the request.

  • Display symetrical list box

    Hi
    all
    I have a value in list box like this.Its dynamic list box .it means im facthing all value of list box from database.
    partnumber/purchaseorder/workorder
    mel 2005=>555555=>PA720
    KDM-1087=>89898=>PA711
    assembly2005=>454543=>PA718
    1=>786=>PA721
    i would like to display it in tabular symmetrical format.
    can anybody tell me how can i achieve this.

    Say u r getting the vales in a resultset rs...
    use it as..
    <input type="listbox" name="ss" value="<%=rs.getString("PartNumber")%>=><%=rs.getString(purchaseorder")%>=><%=rs.getString("workorder")%>">

  • Display symmetrical LIST box

    Hi
    all
    I have a value in list box like this.Its dynamic list box .it means im facthing all value of list box from database.
    partnumber/purchaseorder/workorder
    mel 2005=>555555=>PA720
    KDM-1087=>89898=>PA711
    assembly2005=>454543=>PA718
    1=>786=>PA721
    i would like to display it like this.We can say in table kind of format.
    mel 2005     =>555555     =>PA720
    KDM-1087     =>89898          =>PA711
    assembly2005     =>454543     =>PA718
    1          =>786          =>PA721
    can anybody tell me how can i achieve this.
    thanx
    sanjay

    Say u r getting the vales in a resultset rs...
    use it as..
    <input type="listbox" name="ss" value="<%=rs.getString("PartNumber")%>=><%=rs.getString(purchaseorder")%>=><%=rs.getString("workorder")%>">

Maybe you are looking for

  • How do i use ichat? Where is it on my macbook air?

    I want to video chat, i heard about ichat but i don't know how to use it or where it is on my desktop? 10 points to best answer!

  • Connect to cable

    have comcast and want to use Imac as I use my PC as a TV set

  • IPhone4S external speaker not working

    i hv try clear the headphone jack but not working, clear the dust outside the speaker not working what else can i do, as i don't want to update my mobile which it might coz all the memories within the mobile lost.... what to do??

  • Upgrade from CRM 5.0 to CRM 7.0 MY Worklist  Worklist

    Hello, we're upgrading from CRM 5.0 Interaction Center  to CRM 7.0. The client is using MYWORKLIST in CRM 5.0. In CRM 7.0 I found following three options for Worklist in Navigational Bar: CH-WORKLST CT-WORKLST ICM-WRKLST Please let me know which one

  • Owa_text.vc_arr: can't handle the string with more than 4000 characters?

    In the Oracel Web Application Server 4.0 documment, it says about owa_text.vc_arr :Type vc_arr is table of varchar2(32767) index by binary_integer. I amusing PL_SQL with Oracle8i and OWA4.0 web server.I want to use owa_text.vc_arr to pass the multple