Selection of an item in a Drop Down Menu to activate a field

Hello

I am using LiveCycle Designer ES to create a dynamic form and I hope to have one 'other' field will appear when 'other' has been selected in the menu dropdown. I worked on how each of the drop-down list elements give a value of the specified element and use it to trigger the presence of the field 'other '. However I'm not sure what event to use to activate the code of presence.

Thanks in advance.

You can write code in the event of changing the drop-down list or in the output of the dropdown event.

If you use the variation in consumption below syntax event...

If (xfa.event.newText is "Other")

fieldName.presence = "visible";

If you use the exit event use the syntax below...

If (this.rawValue is 'Other')

fieldName.presence = "visible";

Example of file is in the rental...

https://Acrobat.com/#d=QZS2WmRlvgjTIePj8a6mkQ

Thank you

Srini

Tags: Adobe LiveCycle

Similar Questions

  • When exporting my image in LR I select my brand of water in the drop-down list. Then I need to select 'Edit watermark' since the same drop-down menu in order to replace it. When I do that and click 'done' the watermark disappears in the export me

    When exporting my image in LR I select my brand of water in the drop-down list. Then I need to select 'Edit watermark' since the same drop-down menu in order to replace it. When I do that and click 'done' the watermark disappears in the box menu to export. When I click on "Export" the image exports WITHOUT my watermark. Help, please. As I did about everything that has been suggested in this forum and I still have this problem.

    I saw that too. For now, the workaround is that if you select 'Edit watermark,' when you are done editing be sure to reselect the same watermark. If you do not, the watermark menu will be empty.

    It seems to be a known bug that occurs only in the current version. If all goes well, it can be fixed in the next update. There is a page for her on the Photoshop/Lightroom Feedback site. I've added my vote to the page:

    LIGHTROOM CC - watermark on the question of export

  • Drop-down menu cannot be selected by clicking

    I'm under 20.2 FF on Mac OS X 10.8.3. I recently found this item in the drop-down menu cannot be selected by clicking, although it can be selected by pressing 'enter' on the keyboard. I don't have any add-ons installed, so that shouldn't be the problem. Like going to http://www.newegg.com/ and click on the search menu, I can't select all the options. Thank you for your help in advance.

    Update 22 FF and problem solvered.

  • How to get a selection of drop-down list to complete another field with nothing

    Hello

    I have a drop down menu that fills another field according to what is selected (as shown here where Admin mistakes fills the next field with 6735-10-01).

    Capture-1.JPG

    However, there are 3 items in the drop-down list that I don't want to fill in the other with (basically, it must be empty during one of these 3 elements are selected, in contrast to how it returns zero in the example below). I don't know what to put in for the values to make it white.

    Capture-2.JPG

    Please notify.

    Kind regards

    ZeroZone

    I don't know what your code looks like or where it is but you will need to add a conditional statement, such as:

    If (DropDown.rawValue == "0" | ") DropDown.rawValue == "1" / * | "" etc, etc, * /)

    TextField.rawValue = null;

    on the other

    TextField.rawValue = DropDown.rawValue;

    Kyle

  • Drop-down menu SENDTO does not contain the same list as in the SENDTO folder in the User\Appdata\microsoft\windows\sendto folder.

    Prior to Win7 and Vista (seems to have the same problem), make a right click on a file would produce a drop down menu containing SENDTO containing various options like send this Word file, or write or Adobe or desktop (make a shortcut).  Other options of destination could be added by finding and opening the SENDTO folder and dragging shortcuts in there.  These added destinations would appear then in the menu drop down click the right button.  The feature doesn't seem to work in Win7.  The SENDTO drop contains the locations that are not in the SENDTO folder.  I've renamed the SENDTO folder to see what would happen.  Always in the same places appear in the menu dropdown.  It seems that Win7 has a situation he's going to other than the SENDTO folder.  Interestingly, I can add some program shortcuts in the SENDTO folder and they will appear in the drop-down list, others do not like the trash.  There are items in the drop-down menu are not in the SENDTO folder.  Help Help

    Click on the round of Windows (start), type shell: sendto and hit enter, add or remove shortcuts. Is it now behave properly?

    I forgot to post the location of SendTo folder, it's C:\Users\UserName\AppData\Roaming\Microsoft\Windows\SendTo

  • Impossible to delete previously selected items from the drop-down lists at the click of the button Reset on a page of the screen.

    Hello

    I'm unable to clear previously selected items from the drop-down lists at the click of the button Reset on a page of the screen. The code I did to clear the previous value when the click on the button Reset is as below.

    {} public void onReinitialize (ActionEvent actionEvent)

    System.out.println ("onReinitialize is called ::");

    UIComponent uiComp = actionEvent.getComponent ();

    If (uiComp is nothing)

    {

    otherwise we use the button that we linked to that bean

    uiComp = getButtonResetByBean ();

    _logger.info ("reset fields: buttonID =" + uiComp.getId ());

    }

    on the other

    {

    _logger.info ("reset fields: CompID =" + uiComp.getId ());

    }

    Pass the component inside the uniforms, UIXForm, UIXSubform, UIXRegion, UIXPopup, RichCarousel

    or RichPanelCollection that contains the components to reset

    getTextIDLOV () .setValue (null);

    ResetUtils.reset (uiComp);

    }

    ---

    Using this code Iam able to clear the entrance to the text box but can not clear previously selected items from the drop-down lists when the reset button is clicked

    Can anyone please help on this issue.

    It's simple, you can set GenerateIsNullClauseForBindVars = "false" in the viewCriteria who created in EmployeeView

    After doing that it will fill the list of employees only after the Department selection

    Again check the enclosed application

    Ashish

  • How to fill out a drop-down list on the selection of items in another drop-down list using adf 12.1.3

    Hello

    I have a page that has the load drop-down lists and a "submit" button. The first drop down menu got filled using query based VO (IE read only VO) for LOV. The requirement is as below

    -on the selection of an element any in the first drop-down list, the user must fill the second dropdown.

    -Once the second dropdown is completed, the user can select element in the second drop-down list.

    -capture the second drop down menu items value selected in the method of action of the click on the submit button.

    Any help in this scenario will be useful.

    ---

    Rabindranath

    Sameh salvation,

    Thanks for the reply. Your code

    1. DCIteratorBinding iter is BindingContext.getCurrent () .getCurrentBindingsEntry () .get ("iteratorNameInPageDef") (DCIteratorBinding);.
    2. Object secondDropdownValue = iter.getCurrentRow () .getAttribute ("AttributeName");  has been really helpful to get the selected value.

    Thank you very much.

    ---

    Rabindranath

  • How to pre-select an item in a drop-down list

    Hello

    I need to pre-select an item in a drop-down list, but I don't see how to achieve this using the current or existing methods.  I know that if I set the rawValue then it works, but later when I try to retrieve the data in the selected drop-down list the order of the day list, I get an 'empty' which does not help.  What he needs, is the value, the pair of label to work properly. When I manually select an item in the drop-down list, it works perfectly. But not when I try programtically set. So now I wonder if it is possible to set the index for the drop-down menu, so that he believes have a selected item, when I survey I get the correct value.

    Hope you can help.

    Kind regards

    Ian

    Hello

    You can use the selectedIndex property to set the desired value.

    And to retrieve a value, I recommend you to use *.getDisplayItem (*.selectedIndex);

    I hope this will help you!

  • How to change the background color of selection of the selected item in the drop-down box of choice?

    How to change the background color of selection of the selected item in the drop-down box of choice?

    By default, the selection background color like 'blue', but if I want it to be "yellow" for example, how should I do?

    Thank you

    The id is applied by (I think) the skin of the ChoiceBox class. You don't need to define.

    You must apply the css in an external style sheet. You can apply the external style sheet to any parent of the box of your choice, or on-site (the most usual way to do it).

    Example:

    import java.util.ArrayList;
    import java.util.List;
    
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    
    public class ChoiceBoxTest extends Application {
    
      @Override
      public void start(Stage primaryStage) throws Exception {
        primaryStage.setTitle("Example 2");
    
        final ChoiceBox choiceBox = new ChoiceBox<>();
    
        List tempResult = new ArrayList();
        for (int i = 0; i < 10; i++) {
          tempResult.add("Item " + i);
        }
        choiceBox.getItems().setAll(tempResult);
    
        VBox root = new VBox();
        root.getChildren().add(choiceBox);
        final Scene scene = new Scene(root, 300, 250);
        scene.getStylesheets().add("choiceBox.css");
        primaryStage.setScene(scene);
        primaryStage.show();
      }
    
      public static void main(String[] args) {
        launch(args);
      }
    
    }
    

    choiceBox.css:

    @CHARSET "UTF-8";
    #choice-box-menu-item:focused  {
     -fx-background-color: yellow ;
    }
    #choice-box-menu-item .label {
     -fx-text-fill: black ;
    }
    

    Post edited by: James_D

  • get the index of a selected item in a drop-down list box

    Hello

    If I have a list of strings in a drop-down list box and the user selects one in the drop-down menu, how can I get the index?  I was able to explore the table for the selected channel, but it seems like duplication of effort to create a list and then go back and research it.

    Thank you

    Brendon

    It's easier to change control of the ring or Enum which gives the index as a default value, a drop-down list box gives a string that must be converted. But if you like really graphic and you want to use the drop-down list you can uncheck the "use strings as values" option and enter the index as numbers and then make a string to Decimal conversion.

    /Y

  • How to change the items in a drop-down list box that is part of an array of clusters

    Hello

    In the attached vi, I have an array of clusters and each cluster contains two drop-down list boxes. How can I edit the items in the drop-down list box 1 for all elements in the array? (All elements of list box 1 has the same elements.)

    By way of illustration, I have also included the case of trivila, for example, edit the items in a separate drop-down list box that is is not part of an array of clusters (combo box 3). Please notify. Thank you.

    Peter

    Right click on the drop-down list box and select Create-> Node-> String() property. Place it on the block diagram. Change to write (right click) and then feed him an array of strings.

  • cannot detect if it is has only 1 item in the drop-down list box?

    I have an array of strings to put them in the drop-down list box, a drop-down list box. I will select an item in the drop-down list box drop-down list and press the button 'delete '. It removes the item from the drop-down list box. but when I come to the last drop-down list box, im unable to remove offshore because it does not get pass this line...

    myEntries.selectedItem.label is myArray [i]

    Why do myEntries.selectedItem.label is not detected in the last element?

    Entries.addEventListener (Event.CHANGE, EntriesChange)

                   }

              }

    "" var str_entries:String = "";

    //set default

    function EntriesChange(e:Event):void {}

    for (var i = 0; i < myArray.length; i ++)

                   {

    { if (myEntries.selectedItem.label == {myArray [i].)}

    str_entries = myArray [i];

    trace ("str_entries =" + str_entries)

                        }

                   }

              }

    You can not able to delete the index 0th, the code below, did the trick:

    delbtn.addEventListener (MouseEvent.CLICK, delfn);
    function delfn(e:MouseEvent):void {}
    var str:String=String(Entries.selectedItem.label).toLowerCase();
    for (var i = 0; i)<>
    var str1:String=String(myArray[i]).toLowerCase();
    If (str == str1) {}
    Entries.removeItem (Entries.selectedItem);
    If (Entries.length == 0) Entries.removeAll ();
    str_entries = myArray [i];
    }
    }
    }

  • Calculations of fields in Drop Down Menu Items

    Hello - I'm fairly new to Java and I wonder if it's possible... Try to make a purchase order for clients to complete

    I have a form that is put in place with the drop-down list boxes to choose your product.  There are different prices, linked to different points in the drop-down list.  Is it possible to make the script calculate the following...

    If Value1 is chosen the price is $1,25 if Value2 is chosen, the price is $ 2.25 and so on?  I may have a total of 5 items in the drop-down list.

    Then also I need to know if it would be easier to calculate using the text fields instead... for example

    Product 1 is selected - then the client completes the first name and last name text fields but not the 2nd field on line price would be $1,25 or

    Product 2 is chosen - then the customer fills their first name and second line (no surname) and it would make the price $2.25 and so on...

    Basically I have a form with 5 products, 4 options by product and 1 price associated with each of these products based on what information is populated and what information is left white.  They did this work Excel and I wanted to know if it will work here too.  I use LiveCycle ES2 and Acrobat Pro 10

    Please help me if you can - thanks - Michelle

    Hi Michelle,

    When you select the drop-down list, you can set the display settings in the object > field palette. You probably already have it.

    In the object > liaison palette, if you check "specify values", you can type in a price for each object (1.25). This command sets the value for each of the display items.

    Where you have a price field, this script can be the calculate event, access .rawValue from the drop-down list (which will be the bound value). For example, the use of JavaScript:

    this.rawValue = myProduct.rawValue;
    

    Note that the drop-down list format not the price of the object > binding. It keeps just the value. You can format the object of price for display in any currency you want.

    There is an example here: https://acrobat.com/#d=RLlRdnqGtMw6RTFxWCW3rQ.

    Also:

    http://assure.LY/jtTkdO

    http://assure.LY/fYCuQ2

    http://assure.LY/iitzNJ

    Hope that helps,

    Niall

  • Select Drop Down Menu recordset query.

    I'm looking to use a dynamic drop-down menu to query a Recordset... I use Colfusion to import a MS Access database that contains the following fields: 'Date template', 'Name', 'Points' and 'target '.  Whenever updates to the database, the field 'model' contains the date and time, the model has been run.  I figured out how to create a drop-down Dynamics using SELECT DISTINCT 'model date' and have also figured out how to create the dynamic recordset to display display the data 'Name', 'Points' and 'target '.

    I want the user to select the "Date of model" in the drop-down menu, press "submit" button and then have the appropriate 'Name', 'Points' and 'Target' data surveyed and below.

    The application must take the selection in the drop-down list of 'model date' and then query the fields 'name', 'points' and 'target' for this particular "date model.

    I admit that my knowledge of SQL and Coldfusion is not the best, but it seems that it is a fairly simple task and miss me just one or two pieces of gear and put everything.

    The database essentially looks like this:

    Date pattern... Name... Points of... Goal

    01/08/2010-08:00... DOE... 1, 250... 5.55%

    01/08/2010-08:00... DOE... 850... 2.35%

    01/08/2010-08:00... Bill Smith... 11, 832... -123,23%

    2010-08-02 09:02... DOE... 1, 323... 6.67%

    2010-08-02 09:02... DOE... 1: 001... 3.21%

    2010-08-02 09:02... Bill Smith... 10, 235... -110.26%


    The drop-down list shows only "model dates."

    01/08/2010-08:00

    02/08/2010 09:02

    For example, if on 01/08/2010 08:00 has been selected in the drop-down list, I want the following text is displayed:

    Name.................. Points of... Goal

    John Doe... 1, 250... 5.55%

    Jane Doe... 850.......................2.35%

    Bill Smith... 11, 832... -123,23%

    For any help or suggestion would be greatly appreciated!

    Thank you

    Mike

    My second paragraph speaks only to display the filtered data, so I guess that's what you're looking for, but not yet quite sure based on what are the other answers.

    But I'm on anyway-

    On your first page, note the instance name of your drop down menu, for example "ModelDate".  Make sure that it is in a form and set the form action on the page where you want to display your data, set the form POST action.

    On the results page, create a table with cells for each of the data items to display. Create a recordset that you can do in Simple mode. Allow to select all and the value of the fall of filter down to the database field that contains the Date of your model. In the box on the right, select "=". the next list dropdown selct "Variable form" and the name of the variable type in the name of the instance of falling down on the first page.

    I may not have the terminology right it's memory.

    On the data tab, expand your recordset and locate each of the database fields to display.  Drag each of them to the cell in the table on the page where you want it to display.  The cells in a table should be in a linear row.

    Now select the table row buy by selecting the TR tag in the tags just above the properties panel.  In the server behaviors tab, select the region of repetition and "All Records"

    Publish your pages and test!

  • updated list drop down menu by typing item

    Hi guys,.

    I create a drop-down list by using enum. The drop down menu may have about 1000 + points. Is that possible the menu drop down to update the selection, I want while typing the word?

    The enumeration so that the controls of the ring won't let you type in when the vi is in run mode. A combo box can do what you expect

Maybe you are looking for