Change of image in the selection of the menu drop-down

I am very new to LiveCycle ES 8, trying to get what I think can be called a dynamic image. When you select a value in the menu drop down, the image changes on the other page, to adapt to the value selected in the previous page. I'm not a programmer, I'm ready to do what I can to make this work. Any help would be greatly appreciated. Thank you.

Hello

It is possible to achieve what you want. You will need a few items:

  • drop-down list object script;
  • objects 'image', one for each image you want. It would be set to hidden.
  • object 'imageField. You should only one of them. The initial value is null. The script in the menu dropdown will fill the imageField with the object of the appropriate image.

When you configure the drop-down list, it may be convenient to specify values in the binding tab (for example, 1, 2, 3,...). Then, in the script, you can view the numbers rather than the strings that the user sees in the drop-down list.

The imageField1 must be set to access read only in the initialize event:

This.Access = "readOnly";

This will prevent the user of the substitution of the image.

When you configure the image1, image2, image3 objects make sure you check the "embed image data', users can not have images available to them.

You can put similar Javascript in the event of release from the drop-down list:

If (this.rawValue == 1) {}

imageField1.rawValue = image1.value.image.value;

} ElseIf (this.rawValue == 2) {}

imageField1.rawValue = image2.value.image.value;

} ElseIf (this.rawValue == 3) {}

imageField1.rawValue = image3.value.image.value;

}

Good luck

Niall

PS because the drop-down list object and image objects are on different pages, you will need full references. If the drop-down list is located on page 1 and the pictures on page 2, the reference should look like:

Page2.imageField1.RawValue = page2.image1.value.image.value;

Tags: Adobe LiveCycle

Similar Questions

  • Cascades: How to set the background image for the menu drop down and etc...

    Hello

    Is there an easy way to set the background image for the menu drop down and etc, current support only black as a background?

    Thank you

    Tom.

    Welcome to the forums!

    This is currently not supported unfortunately.

    I encourage you to save a feature for this request:

    https://www.BlackBerry.com/JIRA/secure/dashboard.jspa

    See you soon!

    Martin

  • How can I change the icon of left/right in the menu drop-down?

    Is it possible to add a custom icon to the left icon that appears on the menu drop-down?

    Thank you.

    Disable the icons to the right for now, and select the left icon (right click and select same icon) and apply a new image by using the populate options. And then select the icon on the right and link ArrowMenuDown.gif to a new image of the active panel.

    Thank you

    Vinayak

  • Mobile side.  Using the drop down of your video.  I once put some text on the Mobile page the Menu drops down, but behind the image.  When I remove the text box the menu works correctly.  This also happens with a HTML code placed to Paypal.

    Mobile side.  Using the drop down of your video.  I once put some text on the Mobile page the Menu drops down, but behind the image.  When I remove the text box the menu works correctly.  This also happens with a HTML code placed to Paypal.

    Please check layers panel and put in place the menu item in the list, you can use the layers panel and move up or attempt to move the content.

    If there is still the same, then download a few screenshots of the design view.

    Thank you

    Sanjit

  • Try to change the menu drop-down

    I created a form that uses a lot of drop-down menus and trying to get the menu drop-down see the descriptions and have actually filled area with a number of coin instead of the description. I am not against XML encoding if necessary I am new to it but played around a little bit. Ideas or direction would be greatly appreciated thanks.

    Yes. To descriptions in the menu drop down and then specify values in the binding tab. In the event for the menu output drop-down put the code (in formcalc):

    If ($.rawValue == 1) then

    $.formattedValue = "109323" / / put all part number is here

    ElseIf ($.rawValue == 2) then

    $.formattedValue = "109324" / / etc

    endif

    the rawValue is the value of the option, the person has chosen in the menu and the formattedValue is what the box displays the exit event has run.

  • Y at - it an option to activate the menu drop-down overview of the policies?

    Until about a week ago, I could type in the menu and the box of selection taking place and I could select fonts. (as in the image below) Now, it only goes to the exact police that I type, and there is no drop down with it. It's really make things more difficult for me. I can get the menu drop-down appears, but only if I click on the arrow and use the mouse. The second, that I start typing it disappears.

    Does anyone know how to recover my preview? I'm worried that I hit a weird keyboard shortcut.

    Untitled.jpg

    There are two search modes. Maybe you changed it. Read about it in this article.

    New features of Illustrator CC Type | Design of Type and layout in Adobe Illustrator | Peachpit

  • The bookmarksdrop in the menu drop-down is too big, as it covers the greater part of my screen - how can I make it smaller.

    Whenever I select the menu drop down Favorites, it is so big that it covers the major part of my screen. Then, when I go to a folder in the drop-down menu, if I stop to any other folder, it opens and is so great that the menu drop-down or completely covered. This is VERY irritating and I never had this problem before moving on to Firefox 5.0. How do I don't cure it?
    I use a MacBook with a 13 "screen

    It is probably because you have one or more bookmarks with a long title.

    The width of a column in the list of bookmarks is in the current versions of Firefox automatically adjusted the bookmark with the longest name.

    You can check the names of the bookmarks and the longer more short.

  • When I go to delete a bookmark - I click the menu drop down and the page that I just removed is still there. What I am doing wrong.

    I click the menu drop down and highlight and open the web page and then I click on the yellow star and choose the tab delete press done and when I close and click the menu drop-down new my web page is still there that I wanted to delete.

    Click right a bookmark in the menu dropdown bookmarks and select Remove to remove the bookmark.

  • Capture AbstractActionItem SIGNAL to slip into the menu drop-down

    Hello

    So I need to do anything when I press the ActionItem in slide it towards the bottom of the context menu on BB10.

    I created the shot on the menu drop-down

        Menu *menu = Menu::create();
        Image infoIcon = Image(QUrl("asset:///images/info"));
        menu->addAction(ActionItem::create().title("Info").image(infoIcon));
        menu->setObjectName("infoItem");
    

    Looked at the docs. AbstractActionItem

    https://developer.BlackBerry.com/Cascades/reference/bb__cascades__abstractactionitem.html the action point emits a triggered() Signal.

    Then ran info a bunch of question that did not help.

    • Looked QTDocs
    • Looked at the signals & Slots section of BB stunts Docs

    in my App.hpp file I added

    public:
       void debugText();
    

    I tried to connect the menu by using the following code:

    connect(menu->objectName(), SIGNAL(triggered()), this, SLOT(debugText()));
    

    It does not work, and I spent 2 hours trying to figure why not.
    How do you connect in fact these things?

    Thank you!

    Hello

    trigger signal is attached to ActionItem itself and not Menu object.

    And don't forget the Q_SLOT macro.

    class xxx : virtual QObject {
      Q_OBJECT
    
    public:
      Q_SLOT void debugText(void);
    };
    
    Menu *menu = Menu::create();
    Image infoIcon = Image(QUrl("asset:///images/info"));
    
    ActionItem *mItem = ActionItem::create().title("Info").image(infoIcon)
    
    menu->addAction(mItem);
    menu->setObjectName("infoItem");
    
    connect(mItem, SIGNAL(triggered()), this, SLOT(debugText()));
    

    Nicklas

  • By clicking on tools on the toolbar brings up the menu drop-down instead of switching tools

    CS3 (real licensed copies), OS X 10.5, Cintiq 12WX - using keyboard shortcuts changes the active tool, but clicking on a tool in the tool bar with the mouse or stylus does not; Instead it shows the menu drop-down with associated tools - Polygonal Lasso, magnetic Lasso, etc. - and clicking with the mouse or stylus in an active window has no effect until a second click. It is absolutely infuriating bug, and I have better to do that swearing screaming at my computer when I have deadlines to meet. Can someone please tell me how CS3 accept 'by clicking on a tool' as ' switch so that the tool "rather than" drop-down menu view other versions of this tool? It took half a day of Googling to figure out how to fix these trash the last time it happened, and stupidly, I did not write the process.

    Your understanding of the "obsolete" is as poor as your understanding of 'help '. CS has done everything I need Photoshop CS2 and do still works very well on my Windows machine, CS3 is just what was common back when I had access to student discounts making it actually worth buying a new version of the program.

    I had already tried to reset everything that was possible to reset in Photoshop itself - and reinstall the drivers using another mouse and the Cintiq, and restart the computer - several times without success before finally discovering the source of the problem... which is that whenever the System for the mouse settings have been changed, CS3 distorts apparently any setting double-click outside the default as a Ctrl-click the equivalent of a right click Mac in Windows. Because the double-click speed has been changed, each time I left-button/single-clicked on anything in Photoshop, it had misinterpreted as a right-/ Ctrl-click the button instead, which is the normal command to put in place the drop-down menu with all the other partners of the tools.

    Reset the speed of the default double click in system settings solved the problem, so I'm CE marking as "assumed answered" in the hope that someone else running into the same problem on an old system might find with Google at least.

  • the multicam sequence is not available on the menu drop-down

    When I select the clips with that I want to create a sequence of multicam, multicam sequence selection is not highlighted in the menu drop-down?

    Any thoughts will be highly appreciated!

    all the best

    peace,

    SA

    Thank you!... Turns out I wasn't lack a step.

    but I learned that you can create sequences blocking with clips that were merged to the audio.

  • Multiline entries in the menu drop-down

    Hi - I have a dropdown list with a very long list, display in a fixed field area. Some of the entries are very long, and since the menu drop down allows only one line, the rest of the entry is hidden. Is it possible to get the drop down menu to view multiple lines? Or at least to commit the selection to class landlines box multiline?

    A drop-down list oly shows simple lines.

    But you can use a textfield as alias to design something similar.

    I have an example of a form with a table that uses a drop-down list field that is usually with white text.

    When you enter the drpdown, the text becomes black.

    You can select an entry that will be then filled in a textfield alias that can display multiple lines.

    After that, the text in the drop-down list returns to white.

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

  • I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not display in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not appear in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    You must save the spreadsheet containing the new date as a model format and use this custom template for each new spreadsheet where you want that this date format personalized at your disposal.

  • symbols of site little left of the names of sites in favorites have disappeared in the menu drop-down

    These are the small individual square symbols identify the Web site. They are present when checking under "Show all bookmarks" menu drop-down [which opens the info files], but do not show that they were previously in individual link lines in the menu drop-down.

    Hi nateich2,

    You should take a look at this article which discusses some of the problems with the latest version of Firefox.

    There is some information here that should help you solve your problem. Fortunately, this is a very easy solution.

    Hope this helps!

  • Epson Workforce 545 all-in-One: project of black and white print option is no longer in the menu drop-down

    Hello. I am trying to print in draft mode, black and white, but since I recently installed and then uninstalled a printer canon, printer all-in-one Epson Workforce 545 is more offers me black and white mode fast draft on the menu drop down.

    Thanks in advance for your help.

    It is a forum of HP.  The Epson Workforce 545 you had to best results in the Epson support pages here.

Maybe you are looking for