Some way to make a drop-down list with dressing

I is it possible to make a drop-down list contains a long sentence and when you select the sentence, he trained actually phrase to encapsulate in a multi-line text box?  I seem to be able to enter a fairly long series of words in the drop-down list, but when you make a selection of the text encapsulates not and the right edge of the field cost overruns.  If this can be done is a way of pre-existing reference somewhere else comments hidden in the shape and align them on the field with the selection list?

I think that this is a limitation in the LC Designer. However, you get the sentence on mouse hover.

Tags: Adobe LiveCycle

Similar Questions

  • In a tubular form: how to make a drop-down list box reflect another

    For example:
    If there are two fields, drop-down list with bread, meat, juice and I select juice, I and the content of another combo box in another area to say Orange, grape, lemon.

    a two field

    orange bread
    grape meat
    lemon juice


    in the area there is only the 3 but in the table representing two there are several such as bread and meat and juice types, all three.
    Hope you can understand this example. Thanks for your help.

    Hello
    You can follow the example or do it easier as follows: -.
    Let's say you have two combo box P1_ITEM_ONE, P2_ITEM_TWO

    for P1_ITEM_ONE, I guess you have LOV query based on the table something like this.

    Select Champ_1, field_id from your_table

    Make sure that you assign a null-1 and -1 for this list box default value drop-down.

    To make the P2_ITEM_TWO something like this to LOV-
    Select item1, item_id from your table where (field_id = NV('P1_ITEM_ONE') or NV ('P1_ITEM_TWO') = - 1)
    order by 1

    Hope this will help,

    Djelloul

  • Populating drop-down list with SQL

    I have a database and I want to fill the drop-down list with a 'Group By' request to show the various categories without showing many of the same.  Here's the code I'm having difficult with:

    DropDown {
                    id: filterSelect
                    visible: true
                    enabled: {if (purchaseValue != false){false}}
                    bottomPadding: 20
                    title: qsTr("Category:") + Retranslate.onLanguageChanged
                    horizontalAlignment: HorizontalAlignment.Center
                    options: Option {
                        id: allOption
                        text: qsTr("All") + Retranslate.onLanguageChanged
                        selected: true
                    }
                    onSelectedOptionChanged: {
                        if(filterSelect.selectedOption == allOption){
                        _app.refreshObjects()
                        }
                        else{
                        dataSource.query = "select * from items where categoryfield LIKE '%"+ filterSelect.selectedOption.text+"%'"}
                    }
                    attachedObjects: [
                        ComponentDefinition {
                            id: optionFactory
                            Option {
    
                            }
                        }
                    ]
                    onCreationCompleted: {
    //                    "select categoryfield from items group by categoryfield"
                        var newOption = optionFactory.createObject()
                        newOption.text = 'Text to add' // or a variable fetched from data source
                        //newOption.otherfields = ...
                        filterSelect.add(newOption);
                    }
                }
    

    I have a data source that fills the listview, I want to use the same database to populate the drop-down list.  How should I go about this?  I tried to configure a different DataSource {} just for the dropdown menu, but I couldn't make it work.  In bold text, I am not clear as where I incorporate my SQL query against the newOption.text =

    TL; DR I try to use a SQL query to fill my menu drop-down using the same PB that is used for the listview.

    Any help will be appreciated and thanked!

    A friend by the name of Roger Leblanc http://appworld.blackberry.com/webstore/vendor/70290/?lang=en&countrycode=CA helped me and created a small code example to explain how it works.

    import bb.cascades 1.2
    import bb.data 1.0
    
    Page {
        Container {
            DropDown {
                id: dropdown
            }
            ListView {
                id: myListView
                dataModel: dataModel
                listItemComponents: [
                    ListItemComponent {
                        type: "item"
                        StandardListItem {
                            title: ListItemData.categoryfield
                        }
                    } // end of ListItemComponent
                ]
            } // end of ListView
        }
    
        attachedObjects: [
            GroupDataModel {
                id: dataModel
            },
            DataSource {
                id: dataSource
    
                // Load the data from an SQL database, based on a specific query
                source: "asset:///pinguin.db"
                query: "select categoryfield from items group by categoryfield"
    
                onDataLoaded: {
                    // After the data is loaded, insert it into the data model
                    // This will populate the ListView. You don't want to show
                    // categoryfield in ListView, I just wanted to show the difference
                    // between populating a ListView and a DropDown
                    dataModel.insertList(data);
    
                    // Now, this will populate the DropDown by iterating through every
                    // data from the query and adding it one by one to the DropDown
                    // using the optionFactory Component Definition to add dynamically
                    // new Options to the DropDown
                    for (var i = 0; i < data.length; ++i)
                    {
                        // Create new Option
                        var newOption = optionFactory.createObject()
    
                        // Set the Option text to categoryfield
                        newOption.text = data[i].categoryfield
    
                        // Add the Option to DropDown
                        dropdown.add(newOption);
                    }
                }
            },
            ComponentDefinition {
                id: optionFactory
                Option {}
            }
    // end of DataSource
        ]
    
        onCreationCompleted: {
            // After the root Page is created, direct the data source to start
            // loading data
            dataSource.load();
        }
    }
    
  • How to make the menu drop-down list with a scroll bar

    Hello

    I have a drop-down list that is filled with different table sizes.

    I have a size of 30-element array.  Some of the last items just go off the screen at the bottom of the Simulator PB.

    Is it possible for me to add a drop-down scroll bar?

    DP = new DropDown();
    dp.rowHeight = 24;
    DP.prompt = "stuff";
    DP. Height = 34;
    DP.width = 230;
    DP.x = TitleTB.x + 170;
    DP.y = Title.y-3;
    addChild (dp);

    Some of the tables look like this-

    case 'List 1':
    dp.rowCount = 2;
    for (var i: int = 0; i<2;>
    {
    if(i==0)
    {
    DPP.splice (0);
    DPP.unshift({label:"blahblah"});)
    }
    else if (i == 1) {}
    DPP.unshift({label:"foofoo"});)
    }
    }
    dp.dataProvider = new DataProvider (dpp);
    addChild (dp);
    break;

    case "List2":
    dp.rowCount = 30;
    for (var n: int = 0; n<30;>
    {
    if(n==0)
    {
    DPP.splice (0);
    DPP.unshift({label:"lalalala"});)
    }
    Else if (n == 1) {}

    **********

    Delete the existing table using splice (0);

    then I add the new array of labels.

    Before, when I didn't have the splice (0), I only had the .unshift () and sometimes got bays combined together and a scroll bar appears automatically in the Simulator.  But then the berries were mixed.

    Thanks for the help!

    Hey mlin13,

    from the looks of it, your property rowCount is set too high. the rowCount property represents the number of lines displayed on the screen when the drop down menu is open. so if the number of rows is less than the amount of items on the list, it will create a scroll bar with a drop-down list for you. try to set the number of lines to a default value of 10 and and keep it manipulate your list from there. and see if you get the desired results. Good luck!

  • Check generate some Comp based on the drop-down list box and the selection list?

    I currently have a dropdown list with the three sizing options in it. Then I have two check boxes, one is ticked ideally would create the model to its normal size composition and if other is checked that it would reverse the widthxheight in the size of the composition. Then below that I have a "Generate" button, I want to be able to click and according to my selections, it creates the model.

    Looks like I need a kind of if then statement, but I'm having a hard time putting the two together. See below what I have so far.

    There may be missing parts, but I have it all working in a decibel pallate currently. I don't have functionality related to a button again.

    Any help would be appreciated!

    (also I don't know how to format the script spread here so apologies for that)

    ---------------------------

    palette controls

    templateGen.VerticalCheckbox = new Object();

    templateGen.HorizontalCheckbox = new Object();

    set the values for controls

    templateGen.comLookup = new Object();

    templateGen.compLookup = 'Template1 ';

    templateGen.compLookup = "Template2";

    templateGen.compLookup = "Template3."

    function templateGen_getHashValues (hash)

    { // {{{

    var ary = new Array();

    for (k hash) {}

    ARY.push (Hash [k]);

    }

    return area;

    } // }}}

    menu "composition".

    var panelGrp1 = templateGen.palette.add ('Panel', undefined, 'Templates Comp');

    compGrp1 = panelGrp1.add ('group', undefined, 'List templates');

    compGrp2 = panelGrp1.add ('group', undefined, 'Orientation');

    compGrp3 = panelGrp1.add ('group', undefined, 'Generate');

    templateGen.compList = compGrp1.add ('dropdownlist', LIST_DIMENSIONS, templateGen_getHashValues (bapple.compLookup));

    templateGen.compList.helpTip = "choose the type of desired here device model. All compositions are 60 fps. « ;

    templateGen.compList.selection = 'Template1 ';

    templateGen.compList.graphics.foregroundColor = darkColorBrush;

    templateGen.VerticalCheckbox = compGrp2.add ('checkbox', undefined, 'Portrait');

    templateGen.VerticalCheckbox .value = true;

    templateGen.HorizontalCheckbox = compGrp2.add ('checkbox', undefined, 'Horizontal');

    templateGen.HorizontalCheckbox .value = false;

    templateGen.generateBtn1 = compGrp3.add ('button', undefined, 'Generate');

    applyBtn.onClick =? ;

    When I work with drop-down menus, I always liked to tie the data they represent (like the width and height of the model in this case) directly to the elements.

    I run the code to really check, but it should work like this:

    -----------------

    Add models to your drop-down list and store the items in a table

    models var = [];

    models [0] = templateGen.compList.add('item','template1');

    models [1] = templateGen.compList.add('item','template2');

    models [2] = templateGen.compList.add('item','template3');

    set a width and height of each element

    models [0] .width = 1280;

    models [0] .height = 720;

    models [1] .width = 1024;

    models [1] .height = 768;

    models [2] .width = 1920;

    models [2] .height = 1080;

    Choose the item that should be selected by default

    models [0] .selected = true;

    applyBtn.onClick = function() {}

    read the width and height of the selected item

    var width = templateGen.compList.selection.width;

    var height = templateGen.compList.selection.height;

    {if (templateGen.VerticalCheckbox.value)}

    swap width and height

    var temp = width;

    width = height;

    height = temp;

    }

    now create your comp here with the given width and height

    }

  • I have a drop down list with categories, how to close the categories?

    Hello

    I created the drop-down list categories and in each line, I'll choose a category in the menu dropdown.  How to add each category?

    It's the number 3.6.1 (2566), El Capitan

    That is to say.

    gas

    meal

    Rental

    I want to make the sum of all the lines that are "gas"?

    Use a drop-down menu the right way to do it?

    Thank you

    Edwin

    Hi Edwin,.

    Take a look at the personal Budget template in the template chooser > personal finance.

    SUMIF formulas are in the Budget sheet > summary by the table of categories > column C.

    The drop-down Menus (called context Menus in numbers) are in the leaf of Transactions > column C.

    Make sure spelling is accurate, or numbers will not find a match.

    Please call with questions.

    Kind regards

    Ian.

  • Populate drop-down list with the results of several drop-down lists

    Hi, I am creating a form where the results of two drop-down lists then would fill another drop-down list. I'm not new to javascript, but I'm new to using it in Acrobat, so while I found some answers to this: Drop-down list fill in multiple fields of text. I don't know where to implement this, if it is still the right thing, I'm looking for pipes for

    Oh and I use Acrobat Pro DC. Any help would be much appreciated!

    OK, you can create a function at the level of the document that is called in the Validate event of each of the two first drop down menus, something like:

    Function in JavaScript to the document level

    function updateDropdown() {}

    Get references to the drop-down menus of entry

    var F1 = getField ("DropdownList1");

    var F2 = getField ("DropdownList2");

    Refer to the output drop-down list

    F3 var = getField ("DropdownList3");

    Get the values of input field, as strings

    var s1 = event.target = f1? Event.value: f1.valueAsString;

    var s2 = event.target = f2? Event.value: f2.valueAsString;

    Fill the drop-down list of output with the elements, or deselect it if either input dropdown is 'empty' (single topic area)

    If (s1 = "" |) s2 === " ") {

    F3.clearItems ();

    } else {}

    F3.setItems (["", s1, s2]);

    }

    }

    In the two first downs Validate event, call this function like this:

    updateDropdown();

    You can of course name the function you want. More information about the properties and the methods used in the code are available in the Acrobat JavaScript documentation.

  • Populating a drop-down list with the entities

    I do screens, and I would like the user to choose one of the various entity instances 'establishment' as their institution in a zone drop-down list.

    I know I could do this statically simply adding values in the list in the screen of the issue, or by putting values into a file .xml and power OPA the name of the .xml file.

    I want to do, however, is to have this drop drop-down filled running with features created by the user running (collected on a previous screen). I think there is no way to do so; am I missing something?

    This can be done quite easily using a plugin from list provider. More information in the developer help in Web Extensions determinations | Provider from the list

  • connect two Drop Down list with the code name.

    Hello guys,.

    I have ' starting my LiveCiycle, I have trouble linking two fields in the drop-down list. How can I connect two fields drop-down list? For example, a user selector, the name of the professional and the other menu drop-down is updated with the code of work based on the choice of the name.

    Thank you.

    Take a look at the attachment. It's a way to achieve this. The result like this...

    Steve

  • Several drop-down lists with the same content

    Hello my friends, I have several drop-down lists that are the same in content, I've added them all to each list drop-down I (30 PC), but now the size of the file becomes too large, so I was wondering is it possible to make only 1 from the list and use it in all my dropdowns?

    Specify: the list is only-text strings, nothing more. And the list should also be inside the shape (no external database)

    Help much appreciated, thanks: =)

    Alrighty then. The forum let me download files right now, so here's what to do using your example:

    1. In the hierarchy of the shape, right-click on the object 'form1' and select 'insert a Script object"in the menu.
    2. Rename the new object of script to 'Scripts '.
    3. Paste the following code in the Scripts object (it will not be an event to select):

    var ProductArray = new Array)

    "Product1 | 0127481 | 4 pcs | 1. 27,10 ",

    "Leader2 | 0127482 | 5 parts | 2. 28,20 ",

    "Product3 | 0127483 | 6 pcs | 3. 29,30 "

    );

    function PopulateProductDropdown (ddlList)

    {

    var numProducts = ProductArray.length;

    for (cnt var = 0; cnt)< numproducts;="" cnt++="">

    {

    ddlList.addItem (ProductArray [cnt]);

    }

    }

    4. in each of the drop-down list object Initialize event, paste the following code:

    Form1.variables.scripts.PopulateProductDropdown this);

    That's all.  You won't need to add list items to each of the drop-down list object, and you can remove those who came to see the first drop-down list.  Add all new products at ProductArray, by following the syntax of those here.  Make sure that you don't have a comma after the last one in the table.

  • Drop-down list with values outside field

    I tried to find how to feed external values to a field of ASD form drop-down list. It is not clear how we can link/partner an external source to the field.

    There is an article on how to regularly fill with external values, but I'm after a search in real time (for example find meeting locations available)

    Is this the values supported real-time search? If so, how can it be done?

    Check this post where his clearly explained how to create action and associate it with the presentation.

    Re: Decision tree for user input

  • Several drop-down lists with Switch statement

    I use multiple drop-down list to help a user find that associate their correct sales based on the model and the part they use. However my "switch" statement will always be the case "default". Where am I evil scripts?

    https://workspaces.Acrobat.com/?d=X2MirIocbNfyojw6QezAbA

    the variable "part' requires a value." Add the script:

    part = this.rawValue

    SOnineThreenine.fxnineThreenine (part);

    to the output of dropDownlist2 event. Otherwise, the variable "share" gives you an error message [object XFAObject] console

  • Prepopulate the drop-down lists with xml file

    Hello world

    I'm trying to prepopulate a dropdown list using an xml file. There are many tutorials on the internet that allows me to do from the overview of the Designer tab. However, when I did it worked well, but I am not able to 'embed' the xml file so that the values appear in the workspace when the user starts a process.

    I tried to load the xml file with the contents of resource reading in the action profile of the first task and put the result in the "xmlPrepareData" but the problem is that I can't put all the values of the xmlPrepareData after because the xml model is not exactly the one used by LiveCycle.

    Any thoughts? Someone is already managed to prepopulate a dropdown list with an XML within the process?

    Kind regards

    Thomas

    OK gr8...

    Assuming you're able to get the XML process LC to your XDP/PDF form field.

    You can fix the XML from the drop-down under-

    clear the drop-down list box
    * DROPDOWN_Field.clearItems ();

    choiceList = XMLData.parse (* XML_Field.rawValue, false);

    divide the choiceList in an array of values

    choice = choiceList.resolveNodes("root.element[*].*NODENAME");

    var numchoices = choices.length;

    Adds an array of values in drop-down list
    for (var i = 0; i)< numchoices;="">

    {
    * DROPDOWN_Field.addItem (choices.item (i) .value);
    }

    * DROPDOWN_Field - is your field drop-down list.

    * XML_Field - is your XML data stored in a TextField.

    * NODENAME - is the name of the node in your XML to solve.

    I hope that Hepls...

    Regards-

    Chalukya.

  • Try to make a drop-down list automatically calculate another field, but it is only caclulating a menu drop-down

    I am currently using Acrobat to create a form to fill out. Basically I want the selection in the drop down from the provinces to calculate the taxes of the SubShip field. I have 3 fields of text labeled GST, HST and PST and the selection must fill each box respectively. However, with the code that I use now, it is calculation only 13% of the SubShip field any province is selected, and it is only showing in the box of HST. Here is my code, and I have no idea where I'm wrong.

    Can someone please?

    var sNewSel = event.value;

    Switch (sNewSel) {}

    case "Ontario":

    this.getField("HST").value = (this.getField (subtotal) .value +)

    this.getField ("Shipping") .value) * this.getField("0.13").value;

    this.getField("PST").value = '0 ';

    this.getField("GST").value = '0 ';

    break;

    }

    var sNewSel = event.value;

    Switch (sNewSel) {}

    case "Prince Edward Island":

    this.getField ("SubShip") .value = this.getField("HST").value * this.getField("0.14").value;

    this.getField("PST").value = '0 ';

    this.getField("GST").value = '0 ';

    break;

    }

    var sNewSel = event.value;

    Switch (sNewSel) {}

    case "Alberta":

    this.getField ("SubShip") .value = this.getField("GST").value * this.getField("0.05").value;

    this.getField("HST").value = '0 ';

    this.getField("PST").value = '0 ';

    break;

    }

    var sNewSel = event.value;

    Switch (sNewSel) {}

    case 'British Columbia':

    this.getField ("SubShip") .value = this.getField("GST").value * this.getField("0.05").value;

    this.getField ("SubShip") .value = this.getField("PST").value * this.getField("0.07").value;

    this.getField("HST").value = '0 ';

    break;

    }

    var sNewSel = event.value;

    Switch (sNewSel) {}

    case "Manitoba":

    this.getField ("SubShip") .value = this.getField("GST").value * this.getField("0.05").value;

    this.getField ("SubShip") .value = this.getField("PST").value * this.getField("0.08").value;

    this.getField("HST").value = '0 ';

    break;

    }

    var sNewSel = event.value;

    Switch (sNewSel) {}

    case "New Brunswick":

    this.getField ("SubShip") .value = this.getField("HST").value * this.getField("0.13").value;

    this.getField("GST").value = '0 ';

    this.getField("PST").value = '0 ';

    break;

    }

    var sNewSel = event.value;

    Switch (sNewSel) {}

    case "Nova Scotia":

    this.getField ("SubShip") .value = this.getField("HST").value * this.getField("0.15").value;

    this.getField("GST").value = '0 ';

    this.getField("PST").value = '0 ';

    break;

    }

    var sNewSel = event.value;

    Switch (sNewSel) {}

    case "Nunavut":

    this.getField ("SubShip") .value = this.getField("GST").value * this.getField("0.05").value;

    this.getField("HST").value = '0 ';

    this.getField("PST").value = '0 ';

    break;

    }

    var sNewSel = event.value;

    Switch (sNewSel) {}

    case "Quebec":

    this.getField ("SubShip") .value = this.getField("PST").value * this.getField("0.9975").value;

    this.getField ("SubShip") .value = this.getField("GST").value * this.getField("0.05").value;

    this.getField("HST").value = '0 ';

    break;

    }

    var sNewSel = event.value;

    Switch (sNewSel) {}

    case "Saskatchewan":

    this.getField ("SubShip") .value = this.getField("GST").value * this.getField("0.05").value;

    this.getField ("SubShip") .value = this.getField("PST").value * this.getField("0.05").value;

    this.getField("HST").value = '0 ';

    break;

    }

    var sNewSel = event.value;

    Switch (sNewSel) {}

    case "Yukon":

    this.getField ("SubShip") .value = this.getField("GST").value * this.getField("0.05").value;

    this.getField("HST").value = '0 ';

    this.getField("PST").value = '0 ';

    break;

    }

    var sNewSel = event.value;

    Switch (sNewSel) {}

    case "Newfoundland":

    this.getField ("SubShip") .value = this.getField("HST").value * this.getField("0.13").value;

    this.getField("GST").value = '0 ';

    this.getField("PST").value = '0 ';

    break;

    }

    var sNewSel = event.value;

    Switch (sNewSel) {}

    case "The Northwest Territories":

    this.getField ("SubShip") .value = this.getField("GST").value * this.getField("0.05").value;

    this.getField("HST").value = '0 ';

    this.getField("PST").value = '0 ';

    break;

    }

    Your link does not have access to the folder.

    You error means there is an error in the name of the field used in the script. You must check very carefully the spelling and capitalization of the name of the field.

  • I have a drop down list with numbers refrence and show the hidden sub

    I have a form that has a drop down menu that has several numbers 1,2,3,4,5,6. I also have a subform hidden with the information that I need to post, so if they want 2 I need 2 instances of this subform to show. If they choose 3 I need 3 instances of this subform to apear. ECT... I have all text flowed and the West.

    Ok. In this case you must first define the instance of the subform, and then you will need to loop through all instances and make these visible subforms.

    In the change event of the DropDownList control, you can put the following script.

    var a = xfa.event.newText; This will capture the value in the case of change, if you want the script to the event exit you have

    AreadDoorMF.instanceManager.setInstances (a);       to make it in the var a this.rawValue

    for (var i = 0; i)

    {

    xfa.resolveNode ("AreaDoorDF [" + i + "]"). DF.presence = "visible";

    xfa.resolveNode ("AreaDoorDF [" + i + "]"). DF. Header.Presence = "visible";

    }

    Sorry I just setInstance instead of setInstances

    Thank you

    Sidonie

Maybe you are looking for

  • application of reminders iCloud iOS iPhone sync problem

    I have iPhone 6 s more than 64 GB with iOS 9.3.4 Since iOS 9, my iPhone App reminders reminders executed task do not perfectly synchronize with iCloud. When I check the regular reminders as completed, it disappears and come back after a few minutes!

  • 39 of Firefox crashes on online videos, video goes out and then crashes the browser.

    This only happens with videos. When I watch a video in a few minutes the video area gets black. When I scroll upwards or downwards, it corrupts the whole Web page type. If I change taps, they get completely black, and then I can't do anything. This s

  • Can not correct 'incompatibility of cookie.

    use a web page to about 2 months of access email through google mail. Now open in Explorer. Have you tried the suggestions online to solve the incompatibility of cookie: clear memory cache but has not worked. Tried to uninstall and reinstall Moxilla

  • 24 b017c: 24 - b017c dual boot with Win7 possible?

    The b017c is capable of running WIN7 pro in anyway shape? I really need to do a system dual boot with WIN7 If Yes.  WIN10 is not be nice to some specific software Attorney that I need to have to work for a client. Win7 is the latest OS, this software

  • Equium U400 - Bios does not blink

    Greetings, I downloaded the bios update tool to update my bios from 3.1 to 4.7[BIOS 4.7 | http://uk.computers.toshiba-europe.com/innovation/download_driver_details.jsp?service=UK&selCategory = 2 & selFamily = 2 & selSeries = 198 & selProduct = 776 &