How do I script a listbox for multiple selections may be recognized?

I have a pdf that allows the user to make selections in a list box, and then these choices determine which fields on the page are displayed or hidden. I made sure listbox allows multiple selections, but I can't get the script to recognize and display several fields. So far it works when an item is selected. How can I do so when the user selects multiple entries that it will cause several fields actually show?

I have included the file to show what I got so far.

I answered this in your other post.

Paul

Tags: Adobe LiveCycle

Similar Questions

  • How to make a good UI for the selection of the channels with DAQmx

    A lot of my Labview programming accompanied verisons them previous LabVIEW (pre Labview 7), and there are a ton of new features I am digesting (currently using Labview 8.2).

    My question is (in general), how people schedule their user interface for the selection of channels and others when using hardware DAQmx?  What I have in mind is a system compacDAQ with a number of modules.  The user would be able to choose which channels to watch.  With the help of MAX as part of this process seems counter intuative and somewhat static (yes I know you can change out there, but it feels more like something you would use for something that doesn't really change much).  I wish that all the UI within the VI.

    Programmers use the task of creating screw for this or something else?

    Thanks in advance.

    ChuckNRC,

    I tend to avoid using MAX and create all my channels/tasks using the DAQmx functions.  There are also having some DAQmx features that allow you to save/remove channels, tasks and scales to MAX.

  • How can I configure alerts group for multiple servers?

    Hello

    We have deployed 100 + agents and are very happy with it so far. But is there anyway to create group alerts? We run Hyperic 5.8.4

    Otherwise, we have to all alerts on each server manually.

    HQAPI will be what you are looking for.

    It allows to create scripts that can generate alerts for multiple platforms at once.

    vFabric Documentation Center

    The tip before gui using swing will take some time.

  • How to reuse 1 button for multiple selections?

    simpleScreenShot.JPG

    I have a simple menu that I am trying to understand how to reuse these 3 buttons for up and down the black bar and use the key enter to be able to select the highlighted item. There is in fact 10 items on the menu, but you have to scroll down to show. The rear element must remain on the screen. As you change simple click down the text as if you scroll down. When you click on enter it should lead to a different screen.

    I'm not sure on the tables and index of the selected item. In my opinion, is the best way just not sure how to implement that.

    My first attempt, I created like 10 buttons and 10 buttons and 10 Enter buttons gets confusing. As well, he gets into conflict when you scroll down then back up 1 enter the key triggers usually hurt when your tilt head / hide...

    I wiped the slate clean and start again any help would be great. This is the fundamental starting far point.

    simpleListFile

    Oops - small error in the code:

    compostion replacein ready:

    var myLabels is ['p1', "p2", "p3", "p4", "p5", "p6", "p7", "p8", "p9", "p10"];.

    i = 0;

    {sym.$('downBtn'). Click (Function ()})

    i ++ ;

    sym.getSymbol('labels').play (myLabels [i]);

    If (I > 9) {}

    i = 0;

    }

    });

    {sym.$('upBtn'). Click (Function ()})

    i-- ;

    sym.getSymbol('labels').play (myLabels [i]);

    If (i<>

    i = 0;

    }

    });

  • exportFile for multiple selection

    CS5.5 - Javascript, I want to know the method for a multiple selection exportFile, for example if I selected 4 rectangles and to export these four objects as a single jpg without grouping. Thanks in advance.

    Hello

    If your REB is inside a group already a possible solution is to:

    duplicate them export - group - remove.

    Assuming ERC is selected:

    var
              mDoc = app.activeDocument,
              mFile = File("~/Desktop/test1.jpg"),
              len = app.selection.length,
              tempGroup = [], mTarget;
    
    while (len-->0) {
              tempGroup.push( app.selection[len].duplicate() );
              }
    
    mTarget = mDoc.groups.add( tempGroup );
    mTarget.exportFile(ExportFormat.JPG, mFile);
    mTarget.remove();
    

    Assuming that a group is selected, and each child rec is a target:

    var
        mDoc = app.activeDocument,
        mFile = File("~/Desktop/test2.jpg"),
        mTarget = mDoc.groups.add(app.selection[0].rectangles.everyItem().duplicate());
    
    mTarget.exportFile(ExportFormat.JPG, mFile);
    mTarget.remove();
    

    Jarek

  • Hold down the SHIFT key for multiple selection of objects?

    Maybe me - but the latest version of muse on my mac OSX 10.8.5 now hold down the SHIFT key and clicking on do not seem to me be the multiple select objects - works fine in illustrator and Indd, can't see a preference check everywhere where I missed - I am the only one with this problem?

    catfordboyjohn, join the discussion on this topic on this thread Re: after upgrading to 2014 CC Muse I have problem with multiple selection. SHIFT are not working? >. Thank you.

  • 'Control' key for multiple selections

    I use 2 merger and can not get the Mac keyboard keys 'Control' (right or left) to behave like windows 'Ctrl' key to make multiple selections. A touch of 'control' behaves like a right-click and does not mark a selection. I also tried the Mac "command" key, but this fact is to open the start menu. I've searched the forums and all I can find are posts which is advised to disable the checkbox 'Activate mouse Mac OS shortcuts' in the preferences of the merger. This box was already unchecked so I need another option. Can someone point me in the right direction?

    I have no problem with a Windows normal ctrl-click to select several objects when my from VMware Fusion preferences are defined as in the image below.  Note: IIRC it is a bug if you have changed the default key mappings with the CTRL key, and if yes, then you must restore the default value under key mappings.

    Post edited by: WoodyZ

  • How can I download 1 installer for multiple computers (creative cloud)

    Hello

    We are an educational institution. In total we have 20 computers in our classes. I can't download the creative cloud for each computer separately because we have only a 2 Mbit connection. So, how can I download an installer that I can use for all computers.

    Refer to this:

    Direct download links for Adobe software

    Mylenium

  • How to set a common background for multiple users?

    We have several users for each computer on the network.  I have put a public office and wish to use our logo that is on "public images" as a background common to each machine.

    This can be done through GPO

    User - Administrative - Office - Office templates configuration - enable Active Desktop wallpaper and office.
  • How to customize the social sharing for multiple social outings widget

    I'm trying to encode the work I want to make a link to social sharing networks.

    FB, Twitter, LinkedIn and Instagram. Is there a way to encode that in Muse?

    Yes, you can use the embed for all code and insert into the pages or use the built-in.

    There is little available in musewidgets.com that can be used.

    Thank you

    Sanjit

  • Call the target for multiple selection

    Hello

    I want my app to be able to be that a 'SHARING' call target if one or several photos are selected.

    I saw WhatsApp is able to do this, how can I add this feature to my own app?

    It works like a charm for a photo, but it does not show my application if I select several files.

    Kind regards

    Try this:

    
        card.composer
        Share Multiple
        
            bb.action.SHARE
            filelist/media
                    
        
    
    

    For sharing multiple files in file manager, you must use mixed/filelist.

  • Custom script to Calc for value selection drop down box

    I have a drop down called "EffectiveDate" with 12 elements (01/01/16; 16/02/01; 01/03/16...-01/12/16).  I need the number of pay periods in the year according to their effective date to fill in a field of text on the left.  Can anyone see why this custom calculation script does not work?

    var v = this.getField("EffectiveDate").value;

    If (v == ' 01/01/16') event.value = 26;

    otherwise if (v == ' 01/02/16') event.value = 24;

    else if (v == ' 01/03/16') event.value = 22;

    else if (v == ' 01/04/16') event.value = 20;

    else if (v == ' 01/05/16') event.value = 18;

    else if (v == ' 01/06/16') event.value = 16;

    else if (v == ' 07/01/16') event.value = 14;

    else if (v == ' 01/08/16') event.value = 11;

    else if (v == ' 09/01/16') event.value = 9;

    else if (v == ' 10/01/16') event.value = 7;

    else if (v == "01/11/16") event.value = 5;

    else if (v == ' 01/12/16') event.value = 3

    else event.value = "";

    * NOTE: I already use the value of exports for a different purpose, so I can't use them for that.

    If the value of exports of "01/01/16" is "1000", then replace this line in your code:

    If (v == ' 01/01/16') event.value = 26;

    With this:

    If (v == "1000") event.value = 26;

  • Box - does not not for multiple selection values

    Hello

    I have a box (with several static values) and a dynamic report that displays the filtered data based on the selection of the checkbox... my report refreshes correctly to a selection simple check box, but when I select several values, it gives me an error message...

    Here's the example query that I use:

    Select * from table_a
    where
    CATEGORY =: P22_CATEGORY

    Please advice...

    Hello

    I think that the type of box that you are referring returns a list delimited by two points values. If this is the case, you need a query something like:

    select * from table_a
    where ':'||:P22_CATEGORY||':' like '%:'||CATEGORY||':%'
    

    There is a description really here: http://apex.oracle.com/pls/otn/f?p=ATSIN_DEMO:COLON_DELIMITED

    Hope this helps,
    Gregory

  • Settlement data based on multiple selection ListBox reference need help

    Hello again,

    The question that I have is selecting from a listbox with multiple selection to fill the tables with the selected data. My code is as follows:

    Void loadData_EventClick (ByRef This)

    Dim j

    Dim k

    k = 0

    If ListBox.MultiSelection.Count = 0 Then Exit Sub

    For j = 1 To ListBox.Items.Count

    If ListBox.MultiSelection (j). Count = True Then

    k = k + 1

    End If

    Next

    TextBox.Text = k

    End Sub

    The code works perfectly up to the second if statement. My current channel group list contains 16 channels and with the second if statement guided the textbox output is equal to 16 (i.e. k = 16), which is what I expected. Im just using the k = k + 1 for the test. Eventually will be replaced by operating code specific to what I need to do.

    So the question that I have is to get the code to recognize what values are selected and referring to the index for the selections in a table. Im not sure on how to do it.

    Any help is very appreciated.

    Thank you

    ~ Nathan

    Attached JPEG shows the current user interface and the output of k with the second if statement commented

    Hey Nathan--

    ListBox.MultiSelection () is a function that returns an array of [multiple] selected items in ListBox.

    ListBox.MultiSelection.Count is a property that returns the number of items in the table above.

    Therefore, the logic in your second IF statement that says if ListBox.MultiSelection (j). Count = True really makes no sense because:

    1. The array returned by the multiple selection (using (j) indexing now refers to a single selected item in the list (which has not its own 'Count' property)

    2. If you don't the array index, assuming that you had selected 4 items in your list, your statement would still be actually as said if 4 = True which is not what you get.

    Make sense?

    Here is a modified version of your code that I hope makes it a little more obvious how these elements relate to one another.  Give it a run; of course, 75% of the code is extranneous to you working end to account, so make sure that you subsequently delete what you won't need.

    Sub loadData_EventClick (ByRef This) ' creates the event handler
    Dim j
    If ListBox.MultiSelection.Count = 0 Then Exit Sub
    TextBox.Text = "Total ListBox items:" & ListBox.Items.Count & + "" \n "".
    TextBox.Text = TextBox.Text & "Total selected items:" & ListBox.MultiSelection.Count & + "" \n "".
    TextBox.Text = TextBox.Text & "Selected Items:" & + "\n"
    For j = 1 to ListBox.MultiSelection.Count
    TextBox.Text is TextBox.Text & ListBox.MultiSelection (j). Text & ", index" & ListBox.MultiSelection (j). Index & + "\n"
    Next
    End Sub

    You are making great progress; It will get quickly easily faster and we are here to help – do not hesitate.

  • How can I apply an opacity for the blending mode Script value?

    Hello

    How can I apply an opacity for the blending mode Script value?

    Is this something like?

    theLayer.blendingMode = BlendingMode.SOFT_LIGHT;  Add blendingMode with opacity for selected layers

    var opacity41 = opacity

    Thank you

    It seems that you have the right merge mode part. The other part of your question how to set the opacity of the layer value?

    It is like this:

    theLayer.property("Opacity").setValue (41);

    Dan

Maybe you are looking for