Murray Please - Re: dynamic dropdown list DWMX

Hello Murray,
The dynamic dropdown list works fine now!
I have now a little other problem, the ORDER BY for my
dropdown list.
I selected "ASC" but he shows me from Z -->>A and a
want from A-->>Z
Can you explain this? My code ...
Thanks in advanced,
www.SamDesing.be
<%
Dim groepenrecordset
Dim groepenrecordset_numRows
Set groepenrecordset = Server.CreateObject("ADODB.Recordset")
groepenrecordset.ActiveConnection = MM_con_dbwaterloo_STRING
groepenrecordset.Source = "SELECT * FROM tbl_hoofdgroep ORDER
BY
hoofdgroep_fr ASC"
groepenrecordset.CursorType = 0
groepenrecordset.CursorLocation = 2
groepenrecordset.LockType = 1
groepenrecordset.Open()
groepenrecordset_numRows = 0
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitled Document</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
//-->
</script>
</head>
<body>
<form action="resultdropdown.asp" method="post"
name="dropdown"
id="dropdown">
<p>Select category</p>
<select name="hoofdgroep" id="hoofdgroep"
onChange="MM_jumpMenu('parent',this,1)">
<%
While (NOT groepenrecordset.EOF)
%>
<option
value="resultdropdown.asp?ID_hoofdgroep=<%=(groepenrecordset.Fields.Item("ID_hoofdgroep") .Value)%>"
<%If (Not
isNull((groepenrecordset.Fields.Item("ID_hoofdgroep").Value)))
Then If
(CStr(groepenrecordset.Fields.Item("ID_hoofdgroep").Value) =
CStr((groepenrecordset.Fields.Item("ID_hoofdgroep").Value)))
Then
Response.Write("SELECTED") : Response.Write("")%>
><%=(groepenrecordset.Fields.Item("hoofdgroep_fr").Value)%></option>
<%
groepenrecordset.MoveNext()
Wend
If (groepenrecordset.CursorType > 0) Then
groepenrecordset.MoveFirst
Else
groepenrecordset.Requery
End If
%>
</select>
</p>
</form>
</body>
</html>
<%
groepenrecordset.Close()
Set groepenrecordset = Nothing
%>
"Murray *ACE*" <[email protected]> a
�crit dans le message de
news: [email protected]...
You're welcome.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Sam" <[email protected]> wrote in message
news:[email protected]...
> Thank you Murray
>
> "Murray *ACE*" <[email protected]> a
�crit dans le message
> de news: [email protected]...
>> You could use either, but with a jump menu, all you
would have to do is
>> to make sure that the category is carried to the
results page as a URL
>> parameter.
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>> ==================
>>
>>
>> "Sam" <[email protected]> wrote in message
>> news:[email protected]...
>>> Hello friends,
>>>
>>> I know that this is possible, but I can't find
the solution!
>>>
>>> I use ASP VB
>>>
>>> I have a dynamic dropdown list from a table
"categories" (access), when
>>> I select a category I want to display the
results from that category on
>>> the result page.
>>>
>>> Do I have to use a dropdown or jump menu?
>>>
>>> Somebody can help me or give me a good step by
step tutorial
>>>
>>> Thanks in advance,
>>>
>>> www.SamDesign.be

Sorry, Sam, I have no idea.....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Sam" <[email protected]> wrote in message
news:[email protected]...
>I found it, but the last category is always selected. Is
it possible to
>have always the first selected with the A and not the Z?
> Thanks,
>
> "Murray *ACE*" <[email protected]> a
�crit dans le message
> de news: [email protected]...
>> Try DESC....
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>> ==================
>>
>>
>> "Sam" <[email protected]> wrote in message
>> news:[email protected]...
>>> Hello Murray,
>>> The dynamic dropdown list works fine now!
>>> I have now a little other problem, the ORDER BY
for my dropdown list.
>>> I selected "ASC" but he shows me from Z
-->>A and a want from A-->>Z
>>> Can you explain this? My code ...
>>> Thanks in advanced,
>>> www.SamDesing.be
>>> <%
>>> Dim groepenrecordset
>>> Dim groepenrecordset_numRows
>>>
>>> Set groepenrecordset =
Server.CreateObject("ADODB.Recordset")
>>> groepenrecordset.ActiveConnection =
MM_con_dbwaterloo_STRING
>>> groepenrecordset.Source = "SELECT * FROM
tbl_hoofdgroep ORDER BY
>>> hoofdgroep_fr ASC"
>>> groepenrecordset.CursorType = 0
>>> groepenrecordset.CursorLocation = 2
>>> groepenrecordset.LockType = 1
>>> groepenrecordset.Open()
>>>
>>> groepenrecordset_numRows = 0
>>> %>
>>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
>>> "
http://www.w3.org/TR/html4/loose.dtd">
>>> <html>
>>> <head>
>>> <meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
>>> <title>Untitled Document</title>
>>> <script language="JavaScript"
type="text/JavaScript">
>>> <!--
>>> function MM_jumpMenu(targ,selObj,restore){
//v3.0
>>>
>>>
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
>>> if (restore) selObj.selectedIndex=0;
>>> }
>>> //-->
>>> </script>
>>> </head>
>>>
>>> <body>
>>> <form action="resultdropdown.asp"
method="post" name="dropdown"
>>> id="dropdown">
>>> <p>Select category</p>
>>> <select name="hoofdgroep" id="hoofdgroep"
>>> onChange="MM_jumpMenu('parent',this,1)">
>>> <%
>>> While (NOT groepenrecordset.EOF)
>>> %>
>>> <option
>>>
value="resultdropdown.asp?ID_hoofdgroep=<%=(groepenrecordset.Fields.Item("ID_hoofdgroep") .Value)%>"
>>> <%If (Not
isNull((groepenrecordset.Fields.Item("ID_hoofdgroep").Value)))
>>> Then If
(CStr(groepenrecordset.Fields.Item("ID_hoofdgroep").Value) =
>>>
CStr((groepenrecordset.Fields.Item("ID_hoofdgroep").Value))) Then
>>> Response.Write("SELECTED") :
Response.Write("")%>
>>>
><%=(groepenrecordset.Fields.Item("hoofdgroep_fr").Value)%></option>
>>> <%
>>> groepenrecordset.MoveNext()
>>> Wend
>>> If (groepenrecordset.CursorType > 0) Then
>>> groepenrecordset.MoveFirst
>>> Else
>>> groepenrecordset.Requery
>>> End If
>>> %>
>>> </select>
>>> </p>
>>> </form>
>>> </body>
>>> </html>
>>> <%
>>> groepenrecordset.Close()
>>> Set groepenrecordset = Nothing
>>> %>
>>>
>>> "Murray *ACE*"
<[email protected]> a �crit dans le
message
>>> de news: [email protected]...
>>> You're welcome.
>>> --
>>> Murray --- ICQ 71997575
>>> Adobe Community Expert
>>> (If you *MUST* email me, don't LAUGH when you do
so!)
>>> ==================
>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>> ==================
>>>
>>>
>>> "Sam" <[email protected]> wrote in message
>>> news:[email protected]...
>>>> Thank you Murray
>>>>
>>>> "Murray *ACE*"
<[email protected]> a �crit dans le
>>>> message
>>>> de news:
[email protected]...
>>>>> You could use either, but with a jump
menu, all you would have to do
>>>>> is
>>>>> to make sure that the category is
carried to the results page as a URL
>>>>> parameter.
>>>>>
>>>>> --
>>>>> Murray --- ICQ 71997575
>>>>> Adobe Community Expert
>>>>> (If you *MUST* email me, don't LAUGH
when you do so!)
>>>>> ==================
>>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>>>> ==================
>>>>>
>>>>>
>>>>> "Sam" <[email protected]> wrote in
message
>>>>>
news:[email protected]...
>>>>>> Hello friends,
>>>>>>
>>>>>> I know that this is possible, but I
can't find the solution!
>>>>>>
>>>>>> I use ASP VB
>>>>>>
>>>>>> I have a dynamic dropdown list from
a table "categories" (access),
>>>>>> when
>>>>>> I select a category I want to
display the results from that category
>>>>>> on
>>>>>> the result page.
>>>>>>
>>>>>> Do I have to use a dropdown or jump
menu?
>>>>>>
>>>>>> Somebody can help me or give me a
good step by step tutorial
>>>>>>
>>>>>> Thanks in advance,
>>>>>>
>>>>>> www.SamDesign.be
>>>
>>>
>>>
>>
>>
>
>

Similar Messages

  • Implementing a dynamic dropdown list

    Hi All,
    I am implementing an Adaptive RFC model that uses two custom RFC's. First RFC returns a table that has list of countries and the second RFC returns a table that lists the states of a particular country.
    Now using these two RFC's how do I implement a dynamic dropdown...i mean the first dropdown should show the list of countries and the second dropdown should show the list of states depending on the country selected.
    Thanks,
    Tom

    Hi Tom,
    Please try this,
    IWDNodeInfo multiplenode = multipleinfo.addChild("MultiNode" , null, true, false, true, true, false, true, null, null, null);
    multiplenode.addAttribute("roles", "ddic:com.sap.dictionary.string");
    Assign values for Dropdown
    IWDNode node1 = wdContext.nodeNodeA().getChildNode("MultiNode", IWDNode.NO_SELECTION);
    IWDNodeElement elem1;
    for(int s=0;s<5;s++){
    elem1 = node1.createElement();
    elem1.setAttributeValue("roles","Value"+s);
    node1.addElement(elem1);
    Inside Domodifyview create IWDDropDownByIndex UI Element and Bind it.
    IWDDropDownByIndex dropDownList = (IWDDropDownByIndex)view.createElement(IWDDropDownByIndex.class, "drop");
    IWDAttributeInfo info = wdContext.getNodeInfo().getChild("NodeA").getChild("MultiNode").getAttribute("roles");
    dropDownList.bindTexts(info);
    dropDownList.setWidth("100");
    Regards,
    Ramganesan K.

  • Help with Dynamic Dropdown List

    Hi everyone,
    I'm completely new to this, so I hope you will excuse my lack of knowledge.
    I need to add a dropdown menu on a page.  The dropdown will display a list of all the state names in the U.S.  When the person selects a particular state, the access numbers for that state should appear next to it.
    I'm using Dreamweaver CS4.  I was given a Excel spreadsheet with all of the information on it.
    It would be easiest for me if I can use ASP to handle this, since I already have it setup on my machine as a local server to test it.
    But, I can't seem to wrap my head around how to go about this. 
    Any help would be much appreciated.
    Thanks!
    Meb

    Can you tell me if the following statements are correct? 
    - I need to make 2 xml documents.  One for a list of states and one for cities and their phone numbers.
    - I need to add a form to a page in DW.
    - I need to add 2 Spry Regions to the form, one for the states dropdown list and one for the cities and phone numbers.
    - I need to create two Spry Data Sets using the XML data sets I created earlier and insert them in their corresponding regions.
    - And I need to analyze the code from iPHP's example and somehow link all the stuff together.
    Am I even close to correct?
    Thanks again,
    Meb
    1.) What does the source code from the example look like? Are there 2 xml documents?
    2.) Is there a form on the example? Do you want a form on your page?
    3.) How many Spry Regions are in the example?
    4.) What does the source code from the example suggest?
    5.) yes! View source code as previously advised. All of your other questions will be answered once you've done this! See a pattern forming here? You ask a bunch of questions, the answer is to view the source code. You say you've done that and will continue to do so, yet you still ask questions that can be answered by viewing the source code. The result is a lot of redundant discussion.

  • Dynamic dropdown list in adobe forms.

    Hi All,
    I need to have a dynamic drop down list in the adobe forms.The values for the drop down list are selected from a standard table at runtime.This is the online scenario.
    I have been using Enumerated drop down list.How do i pass the value or bind the values to this element.
    I have enable Dynamic binding in the Properties of designer. but i am not able to enter the values into the specify item values.(OBJECT-BINDING-SPECIFY ITEM VALUE).Actually in my case it is coming disable.
    I have also set the preview format to "ACROBAT 8 (Dynamic) XML FORMAT" which is in the form properties.
    please let me know if i am missing any step?
    Thanks
    Gaurav

    Hello,
    1) I am sure you didn´t search because I have answered this question many times around here. Next time seacrh first, ask later, please. That is how we do it here.
    2) you must, in your options menu in LCD, allow yourself to use dynamic binding. Check the menus for the checkbox, that should help you get what you need.
    Regards Otto

  • Is it possible to set up a "User Defined" dynamic dropdown list?

    Hi,
    I'm learning Acrobat as I go and so far have been able to figure out what I need to do rather well, but I'm stuck with one last thing that I need to do.  I have created a form which is a Physician Ordering Requisition and I'd like to be able to compile a running list of ordering into the Physician's Field Dropdown.   This requisistion will be used through multiple Doctors offices and the list of Physician's would be over a 1000 entries. 
    I'd like to distribute the form to each office and have the data from that field (name), be able to display as a choice next time it's opened for use. 
    The other way that would work is if it was possible to enable auto-complete for select fields.  Due to patient confidentiality, enabling auto-complete for the entire form wouldn't be good as these are filled out with the patient present and there should not be any risk of potentially seeing previous patient entries.
    If there is another method, I'm all ears!
    Thanks,
    Ryan

    Ya, the users being the physicians.  There will be a few Docs in each clinic, and these get filled out multiple times per day, and I would like to add each physician from thier office only, to the.pdf form saved on each office computer.  That way it's not a huge list, but it'll save time and frustration by not having to type their name each time.  Also, when a new physician gets added to the clinic, once they add their name and save it, it would be available in the dropdown.
    The problem with auto complete, is that the patient is typically present when the physician is filling out the form on their office computer.  The patient should not see the previous entries of other patient names/info, that could pop up for autocomplete.  If I could limit auto complete to specific fields, that would ideally be the best solution actually.

  • Dropdown list

    Hi Experts,
    I'm creating a VC application which has a dropdown list.
    I'm dynamically filling dropdown list values.
    On execution, I'm getting values(say for example 1,2,3,4,5).
    But when I select a value(say 2)  from dropdown list, other values are vanished(1,3,4,5).
    How to overcome this problem??? Though i select a value i should see other values in the dropdown list.
    Envirnment: EP7
    Thanks

    Hi ,
    In Dynamic Dropdown list   dont give any Filed in Upper Input
    Jusy Give Input & Output Values .
    Regards ,
    venkat p

  • Add element in dropdown list dynamically

    Hi All,
    I am facing a problem in adding item in a dropdown list dynamically.
    When i get dropdown list through IgetElementById get null.
    var list = document.getElementById("targetgroupname");
    here list comes as null. Now I've to fill this list. I am using below code -
    for(var j=0;j< com.length;j++){
    iist.options[j]= new Option(com[j],com[j]);
    But it is not working. My list is not getting filled with these values.
    I doubt due to var list -> null it does not allow to add element.
    But I am not getting any clue, how to initialize it.
    Please suggest, I am new to javascript.
    Thanks & Regards,
    Sneha.

    Hi,
    Thanks for the reply, yes the select box has that id - targetgroupname.
    actually there are 2 dropdown lists, Based on the selection of first dropdown list another list shd be filled.
    So I've written a script at "onchange" of first dropdown list. It works fine when a value gets changed at first dropdown list.
    In some cases I've to display a preselected value at first list ( which comes from previous page as parameter), in that cases there will be no onchange on first list, so I've called the script function manually after creating the first list,like below :
    <SCRIPT> checkSource();</SCRIPT>
    and in this case it does not work & I get a null when i try to read the 2nd list.
    But I am not sure why it is happening.. may be it is not loaded /created on page when i am calling it.
    If yes, what shd I do ?
    Thanks for your time.
    Regards,
    Sneha

  • Problem with dynamically loading the dropdown list from database

    Please help me,
    i am having a jsp page which contains a form
    with a textfield ,two dropdown list
    and a submit button
    when i select a list from first drop down, second drop down has to
    be loaded from the database dynamically according to the
    selected one in the first drop down.
    i gave onselect event for the first drop down and
    gave this one
    temp=first dropdown selected value
    self.location='currentfile+query='+temp;
    after this current page is reloading, but the already existing
    values in textfield and first selected value in drop down list is
    missing.
    how to solve this problem? and the rest of the problem. i mean
    loading the data into second drop down list.
    plz help me......

    in first <selcet> tag write Onchange and submit to the jsp then the values will return in second select box.

  • Dynamically populating a dropdown list in a pdf form from a datasource

    Is there a way to populate a dropdown list in a pdf form from a datasource, specifically from an Access database table or query, using LiveCycle Designer. I am easily able to do this using cfselect in Coldfusion, however, cannot seem to figure it out for pdf forms. I am aware of the Show Dynamic Properties option enabled in LiveCycle Designer, and then binding to a datasource. However, this seems limited as I am only able to select single columns from Access (currently using an Access database) tables, and a unable to select from queries like I do using cfselect in Coldfusion forms. Is this something that must be done with Java scripting? If so, is there any other way? I know nothing about scripting. Thanks

    Derrick,
    There is a sample posted at
    http://www.adobe.com/devnet/livecycle/articles/lc_designer_db_lookup_tip.pdf
    It was created for Designer 7.0 but it should function the same in later versions of Designer.
    Steve

  • Calculating dynamic values from dropdown lists

    Hi all, here's the noob question of the day
    I'm creating an invoice form in LiveCycle Designer and I'm totally stuck at tax calculations:
    for each product you're able to choose between two tax percentages from a dropdown list and, at the end of the form, I want to show a total amount of each tax.
    product
    qty
    unit price
    vat
    net price
    red shoes pack
    2
    20$
    4%
    40$
    black shoes pack
    1
    25$
    4%
    25$
    white umbrella
    1
    10$
    7%
    10$
    total net price
    75$
    + TAX 4%
    2.60$
    + TAX 7%
    0.70$
    Total
    78.30$
    How can I set the + TAX 4% and + TAX 7% fields to grab their respective product rows?
    Sorry for my bad english.. I hope you get the question!

    You woudl have to look at each row inside of a for loop and then determine if that row had 4% or 7% tax. Then you coudl keep a running total of the tax for you calcultions such that when the for loop ended you would have the 4 and 7% totals calculated.
    Make sense?
    Paul

  • Dropdown list in Subform

    Hi There,
    I am facing problem in Dropdown lists in Subforms.
    I want the region dropdown list values according to country (only for DE) dropdown list value. Both Dropdown lists are in a Subform.
    For that, I have used this in EXIT event of Country Dropdown list:
    if (this.rawValue == "DE Deutschland")
    data.Item.IT_ITEM.DATA.ZZ_REGION.clearItems();
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Schleswig-Holstein","1");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Hamburg","2");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Niedersachsen","3);
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Bremen","4");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Nordrhein-Westfalen","5");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Hessen","6");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Rheinland-Pfalz","7");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Baden-Württemberg","8");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Bayern","9");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Saarland","10");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Berlin","11");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Brandenburg","12");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Mecklenburg-Vorpomme","13");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Sachsen","14");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Sachsen-Anhalt","15");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Thüringen","16");
    else
    data.Item.IT_ITEM.DATA.ZZ_REGION.clearItems();
    It does only change first region dropdownlist value, not others because both dropdown lists are in a Subform.
    Other problem is that it works only when All Country Dropdown lists are "DE". Means, first region dropdown list depends upon not only first country dropdown but also other dropdown.
    My requirement is, If first country Dropdown is "DE", only first Region Dropdown list should be fill, not others. And so on.
    Please provide solution that How can I change all dropdown lists of a Subform dynamically?
    Waiting for reply.
    Thank you
    Chandler Bing

    Hi Philip,
    You are assigning values only the first row.
    data.Daten.Daten.Daten.Data.DropDown.rawValue =  data.Daten.Aktion.DropDown.rawValue
    You have to use the assignment in loop.
    1. check number of rows in the table
    2. Assign values in loop
    // Use the internal table which you binded to dropdown for getting total rows.
    var rows = xfa.resolveNodes("****DropDownSrc.DATA[*]").length;
    for ( var i =0; i < norows; i++)
    data.Daten.Daten.Daten.Data[i].DropDown.rawValue =  data.Daten.Aktion.DropDown.rawValue
    Hope i got you correctly

  • Fill the second Dropdown List based on user selection

    Hi All,
    I am using Web Services to populate Dropdownlists. This works fine for me.
    I have a table with the column "Core Category" and "SUB Category", "Core Category" can have 1 or more SUB Categories.
    The SQL statement in the Web Service for "Core Category" looks like this: "Select DISTINCT [core category] from table", this returns a list of categories.
    In this example, I want to achieve the following:
    When I select a "Core Category' in the first Dropdownlist, the application fires an event or action to fill the second Dropdownlist "SUB Category" with ONLY values that belongs to the selected "Core Category" in the first Dropdown list.
    Is this possible with Visual Composer? Please let me know how I can achieve this?
    Many Thanks,
    Ridouan

    Hi Ridouan,
    Yes it is possible. [Example of Ship and Engine|http://img146.imageshack.us/img146/2968/shipenginezt9.jpg]. Kindly note there is a web service for getting ship and on basis of ship-id selected, engine is filled, which is also deliverd by web service
    The intial state of application is ship drop down is enabled but not the engine, that gets enabled only when ship is selected.
    Here the steps: Please replace it with your fields:
    1. Place the 2 drown down controls.
    2. For Ship, Select the web service in the dynamic list of the dropdown, remember at runtime, if those input parameters are not valid it will give the data service error, make use of if statement.
    3. Define Store -> shipid, engineid and boolean show_engine  - default false
    4.  Action of ship -> ASSIGN action -> true to show_engine from data store
    5.  Value of ship ->
    =store@SHIP
    6.For engine, Select the web service in the dynamic list of the dropdown, remember at runtime, if those input parameters are not valid it will give the data service error, make use of if statement. Where the paramter for shipid is to be filled
    =IF(store@SHIP!="",UPPER(store@SHIP),"AVRA")
    7. Value of engine ->
    =store@ENGINE
    Let me know, if helps.
    Best regards,
    Dharmi
    Edited by: Dharmi Tanna on Jun 27, 2008 3:23 PM

  • How to create a dropdown list to list the values from two different tables?

    Hi,
    I have the following requirement:
    1. I have to create a dropdown list to display all the values from the second column of  a table.
    2. Another dropdown list to display all the values from the second column of another table.
    3. A text box should help me to add the selected values.
    How to get this done in a PDF? Please help.
    Regards,
    Latha

    Is this a LC form? Because Acrobat forms have no concept of tables, just
    individual fields...

  • Difference between Combo Box and Dropdown List

    Hi All,
    I would like to know the difference between the elements 'Combo box' and 'Dropdown List' in VC. I am facing an issue where i am invoking an entry list and the output of the first element the entry list returns is getting reflected as the output for all the elements...
    So even if 2nd and 3rd row of the o/p from the entry list is giving only 2 items, if the 1st row returns only 1 then we are able to see only 1 item. Its as if the 1st row decides the items to be returned for all the rows.
    Please help.

    Hi Hezi,
    I have 2 columns in my table. First column is 'material number' and the 2nd one is 'production version'. There can 1,2 or 3 production version for each material. [This information is stored in the backend] This is retrieved through a method which invokes a bapi which in turn retrieves from the backend.
    I have provided a dropdown list for the 'production version' column. Lets say there are 2 rows. Material 1 and material 2. Lets say material 1 has 1 production version and material 2 has 2 production version. So rightfully speaking i should have 1 option in the dropdown for material 1 and 2 for material 2.
    But what i seeing is only 1 option for both the materials. This is wrong.
    Is there something that can be done to ensure that each row reflects the correct no. of options in the dropdown?

  • Unable to embed External CSS file, dropdown list,filter panel and dimension filter are not working in SAP Design Studio Tool

    Hello Everyone,
    I am new to SAP Design Studio. I am working on creating dashboards and I am using Design Studio 1.2 version. Please suggest some solutions for the following issues. Thanks in Advance.
    1. External CSS file which is embeded using custom CSS option under "application component properties" is not working.
        * I kept the external CSS file inside repository-> my application folder.
    2. During runtime, getting javascript error while selecting '-' option from filter panel.
    3. Unable to select or type dimension name under "dimension filer component" properties.
    4. Getting runtime error for dropdown list, and I have inserted the following code under "onStartup" option of Application component properties.
    "DROPDOWN_1.setItems(DS_1.getMemberList("PRODUCTREF", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20));
    and dimension values are not populated in auto suggest."

    There should be an Error Log under View > Error Log that gives you more details of these errors.  Could you add that?  There is also a View > Script Problems log that provides more details as well.

Maybe you are looking for

  • Report script taking too long to export data

    Hello guys, I have a report script to export data out of a BSO cube. The cube is 200GB in size. But the exported text file is only 10MB. It takes around 40 mins to export this file. I have exported data of this size in less than a minute from other D

  • MacBook Pro Retina Running Very Slow (EtreCheck)

    Problem description: My MacBook Pro Retina has been running very sluggish lately. It used to be so consistently fast and now it is just so sluggish. EtreCheck version: 2.0.11 (98) Report generated November 25, 2014 at 11:17:21 AM MST Hardware Informa

  • Safari stops playing youtube videos

    Recently when playing You Tube videos I find that the playback overtakes the downloa, thereby stopping. This happens with Safari and Firefox. To clarify: The grey part of the progress bar does not stay ahead of the red playback bar. I never had this

  • ITunes: ERROR -1450?? HELP.

    I was using my iTunes when suddenly, something popped up saying that the --file was not saved to iTunes library, error (-1450)-- I didn't even save anything at the time or recently, I was just browsing through some podcasts, deleted some...etc. Help

  • Missing and empty Events after iPhoto 9.4 update - how to restore?

    Hi folks, I updated to iPhoto 9.4 a couple of days ago and now many of my photo 'Events' are missing, and some are now appearing as empty. Can anyone help me get my pictures back (ie restore the library to its pre-9.4 update state) -- when I used Tim