Make it visible only works field in the first row, not added lines

I have a dynamic form that I can add lines. It is 3 columns, the first being a DOF that fills the second column DDL. The 3rd column is a hidden field that shows once made a choice in the second DDL. It works very well in the original line, but it will become visible in the rows that are added.

This is my code for the second DDL:

If

(this.rawValue ! = 1)

{

Form1. Page1.OrderSection.OrderItems.condition.presence

= 'visible ';

}

on the other

{

Form1. Page1.OrderSection.OrderItems.condition.presence

= 'hidden ';

}

Must be set up as a sort of loop maybe? I'm sure it has something to do with my being a dynamic path name path. Not really sure at this point what to look at to make it work. I don't know how or if I can get my file here. If someone can tell me how to fix it, or I can email to someone for help.

Thanks in advance.

Each object must have a unique name. To accomplish the repeating subform Gets a number of occurrence, so assuming the OrderItems is the repeated subform expression to get the object will be OrderItems [occuranceNumber]. Condition

If you need to change your code to access the instance on the right:

'visible ';

xfa.resolveNode ("form1. ("Page1.OrderSection.OrderItems [' + this.parent.index + '"] '). Condition.presence =

Assuming that you are running this code on an object inside the subform. The this.parent.index will give you the index number of the subform that you are.

Hope that helps

Paul

Tags: Adobe LiveCycle

Similar Questions

  • How can I make sure my internet cable works even if the icon is not displayed by the clock

    I see the wireless connection icon, but I used to see one for the wired connection also. So where is it?

    How can I make sure my internet cable works even if the icon is not displayed by the clock?

    Click Start > Control Panel > network and Internet > network connections.

    Click with the right button on your Local network, and select Properties. In the window properties of LAN make you that these boxes are checked.

    [] Display the icon in the Notification area when connected

    [] Notify me when this connection is limited or no connectivity.

    Click [OK] and get out of here!

    Right-click on start and select Properties. On the taskbar and Start Menu click the taskbar tab, and then click the Customize in front of the Hide icon button inactive and it make sure that the option 'always show' for the local network is selected.

    HTH,

    NASS - http://www.nasstec.co.uk

  • Why can't I import a file that I converted to mp3 from youtube about Director? It keeps only let me import the first song I ever imported

    Why can't I import a file that I converted to mp3 from youtube about Director? It keeps only let me import the first song I ever imported

    Hello

    1. do you use Windows movie maker?

    2 are you getting any error code or error message?

    3. were you able to import the file before?

    4. have you made changes on the computer recently?

    I suggest you to try the steps in the following Microsoft article and check if this may help.

    Problems with importing files into Windows Movie Maker:
    http://Windows.Microsoft.com/en-us/Windows-Vista/problems-importing-files-into-Windows-Movie-Maker

    Also, see the following Microsoft article and check if that helps:
    Importing files into Windows Movie Maker: frequently asked questions:
    http://Windows.Microsoft.com/en-us/Windows-Vista/importing-files-into-Windows-Movie-Maker-frequently-asked-questions

    It will be useful.

  • software isinstalled, but message comes up to make sure that your device is connected, the computer is not reconizing machine

    the software is installed, but message keeps occurring that make sure your device is connected.

    Hello

    Thanks for posting your query in the Microsoft Community Forums.

    According to the description, it seems that you are facing problems with the connection of the device that you get an error message "make sure that your device is connected, the computer is not reconizing machine." I'll be happy to help you with this problem.

    (1) device you're trying to connect?

    (2) how you try to connect the device?

    (3) what software is installed? Are what software you referring?

    (4) have you made changes on the computer before this problem?

    Method 1: I suggest you follow the steps in the link to run the troubleshooter and check if that helps.
    Open the hardware and devices Troubleshooter
    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    Method 2: You can also try uninstalling and reinstalling the drivers and check if the problem persists.

    To resolve this issue, follow these steps:

    1. to open Device Manager, click Start, click files, and research programsand typeDevice Manager. A list of the available items will appear above the search box; Click onDevice Manager. Device Manager opens with the name of your computer to the top and a list of the devices installed on your computer under the name of your computer.

    2. Locate the faulty device in the list of devices, right-click on the device, and then clickUninstall. When a warning message that you uninstall a device in your system, clickOK. Device Manager uninstall the device.

    3. right click on the name of your computer in the Device Manager, then click on Search the hardware changes. Device Manager scan your system and reinstall your device automatically.

    4 right click on the device, and then click Properties. Thegeneral of the device, in theState of the device Properties dialog box tab, you should see the message. This device does not work correctly.

    I hope this helps. Try the above steps and get back to us for further assistance if you have questions about the Windows operating system. We will be happy to help you.

  • "Sorry, Move Maker cannot open this project file. The file is not compatible with Windows Live Movie Maker or damaged. Please select a different project file. »

    Hello!
    I installed Win Live Movie Maker, but when I tried to open my .mswmm file I only got this message: "sorry, Move Maker cannot open this project file. The file is not compatible with Windows Live Movie Maker or damaged. Please select a different project file. "The file will open correctly in Windows Live Movie Maker 7, so everything should be OK. What I am doing wrong?

    Hello

    This is supported in Windows Live movie maker file type.

    http://help.live.com/help.aspx?project=wl_movie_makerv1&market=en-IE&querytype=topic&query=wl_movie_maker_ref_supportedfiles.htm

    For any request or problems related to Windows Live Movie maker, please post to the Windows Live Help forum.

    Here is the link: http://www.windowslivehelp.com/product.aspx?productid=5

    Diana

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I bought and downloaded Lightroom 6 Lightroom 5.7 update. When I go to install it says that it cannot install because it only works on 64-bit I did not. Is there a 32-bit version as there was in Lightroom 5

    I bought and downloaded Lightroom 6 Lightroom 5.7 update. When I go to install it says that it cannot install because it only works on 64-bit I did not. Is there a 32-bit version as there was in Lightroom 5

    N ° 6 of Lightroom is 64-bit only.

    Update on the OS support for the next Version of Lightroom

  • ListField.drawListRow only draws a line in the first row, all the lines.

    I'm close. ListField.drawListRow is called for every row without problem, but the two graphics.drawLine only are displayed (shot) in the first row at the point of coordinates noted.

    I thought that each line would get the two drawn drawLines?

    Graphics.Clear is called correctly (as a test only - I have commented out them as well, but not changes).

    How can I get the two Graphics.drawLine at the bottom of the method called for each line, correctly?

    public void drawListRow(ListField listField, Graphics graphics, int index,
            int y, int width) {
        Logger.debug("CoffeeStoreContent [drawListRow] y: " + y + " width: " + width);
        /*
         * Top Margin
         */
        y += appGraphics.calcHiRes(6);
    
        int[] colors = appGraphics.getColorPalette(sportTitle);
    
        /*
         * Get the current CoffeeStore object.
         */
        CoffeeStore currentRow = (CoffeeStore) get(listField, index);
    
        StringBuffer subline = new StringBuffer(currentRow.getSource());
        subline.append(Characters.SPACE);
        subline.append("|");
        subline.append(Characters.SPACE);
        subline.append(currentRow.getDateAgo());
    
        int HiX = 43;
    
        if (graphics.isDrawingStyleSet(Graphics.DRAWSTYLE_FOCUS)) {
            graphics.clear();
            graphics.setColor(AppGraphics.YELLOW_HIGHLIGHT);
            graphics.fillRect(0, (index * listField.getRowHeight()),
                    listField.getWidth(), listField.getRowHeight());
    
            graphics.setFont(font);
            graphics.setColor(Color.BLACK);
            graphics.drawText(currentRow.getLinkText(), HiX, y, 0, width);
    
            graphics.setColor(AppGraphics.TEIGHT);
            graphics.drawText(subline.toString(), HiX, (y
                    + graphics.getFont().getHeight() + 2), 0, width);
        } else {
            graphics.clear();
            graphics.setColor(colors[0]);
            graphics.fillRect(0, (index * listField.getRowHeight()),
                    listField.getWidth(), listField.getRowHeight());
    
            graphics.setFont(font);
            graphics.setColor(AppGraphics.TSIX);
            graphics.drawText(currentRow.getLinkText(), HiX, y, 0, width);
    
            graphics.setColor(Color.WHITE);
            graphics.drawText(subline.toString(), HiX, (y
                    + graphics.getFont().getHeight() + 2), 0, width);
        }
    
        graphics.setColor(colors[2]);
        graphics.drawLine(0, 50, width, 50);
        graphics.setColor(colors[3]);
        graphics.drawLine(0, 51, width, 51);
    }
    

    No - only y + 50 is enough.

  • My nail of the thumb in bridge always have evidence the adjustments I make to RAW files. Now, for the first time they have not. However when I select the images adjusted and open them in CS6 adjustments are there. I restarted the bridge and PS, and I rest

    My nail of the thumb in bridge always have evidence the adjustments I make to RAW files. Now, for the first time they have not. However when I select the images adjusted and open them in CS6 adjustments are there. I restarted bridge and PS, and I restarted the computer (Mac). Still the same problem.

    I thank assani, but it wasn't the answer. The problem was, I finally understood, that the "option for generation of quality and preview thumbnails" wasn't on "high quality" as it usually is. I have no idea how this happened as I never change this option.

    Thanks a lot for your help.

    Mitchel Gray

  • I got a notification of update for adobe CC but it does not work and now the Office does not

    I got a notification of update for adobe CC but it does not work and now the Office does not

    I actually just finished with support on a cat and it was corrected. Thank you.

  • I added an image as a signature that works very well if a new message an email, however, the signature of the image is not added when I reply to an e-mail message?

    I added an image as a signature when a set my e-mail account. This image is added successfully when I compose a new email. When I reply to an e-mail message, the image is not added, and I have to manually copy it from a newly formed email. I assumed that there should be a way around this?

    Account settings of GOTO and look under the section Composition & addressing. There are two check boxes to include signatures in the responses and transfers.

  • Problem with the removal of the first row of the table

    Hi all

    I have a problem with my forms with tables where I have buttons to add or remove rows from the table. Adding the lines works fine but deleting lines has a problem when deleting the first row. Example: Here is a table with two rows where column 1 has the add and remove buttons and column 2 user imput that looks like this:

    Column 1
    Column 2
    Add and remove buttons hererank 1
    Add and remove buttons hererank 2
    Add and remove buttons hererank 3

    If the user deletes line 2 the table looks like which is correct:

    Column 1
    Column 2
    Add and remove buttons hererank 1
    Add and remove buttons hererank 3

    If the user deletes line 1 then the table looks like which is false since the ranks 2 and 3 should be left:

    Column 1
    Column 2
    Add and remove buttons hererank 1
    Add and remove buttons hererank 3

    The code is pretty simple:

    Table3.row2.instanceManager.addInstance (1); for the click event of the button Add line

    Table3.row2.instanceManager.removeInstance (1); for the click event of the button Delete line

    What I am doing wrong?

    Thanks in advance!

    Al

    The expression will be based on your structure... done .This refers to the current object, parent refers to the container parent of this object and index is the index of this object. So watching your hierarchy and from the key, you will need this.parent to join the line subform is it in (usually it is th esubform that repeats). If it's in a subform, you will need to add another parent. Continue on this road until you get to the repeating subform and then ask its index. Your expression might look like this.parent.parent.parent.index. Using this.index, you find the instance of the button object and there are just people and that's why you always get 0.

    Make sense?

    BTW your form is attached not... so I can't check what you should put it.

    Paul

  • How to freeze the first row in Microsoft Excel 2008 for MAC (worms. 12.3.6.)?

    Hello world

    I need to set the first row of a table in Excel 2008 for Mac. I know it should by a button, but don ' t have probably, or is hidden somewhere I checked the point of view, the tools and all the menu, I didn't find, y at - he someone to help me? Thank you

    Make sure you are in Normal mode, not Page view

    Go to the window in the menu bar and select freeze the panes

    Then you should be able to scroll through the sheet with line 1 has left in place.

    If you need for example three rows frozen, go to the fourth line and select freeze the panes.

    Then you should be able to scroll through the sheet with lines 1 to 3 from left in place.

  • How to ignore the first row of the table when VO is used as a dvt:pieGraph?

    Hello

    I have a VO object read-only. I use this VO datacontrol object to display a table and pieGraph to my jspx page. When removed from the datacontrol as a pieGraph in page jspx, it gives the graph to 50% of the total (which is the first line) and all other lines at 50%. Here, my problem is that the first line of a column in the table is total of all other lines in this column. Now, I have to show the pieGraph with slices of all lines except the first row.  Is there a way I can do this without using programmatically. Or any other simple solution for program help. Help, please.

    Thank you

    Ashok Laura.

    Hello

    Assuming that we have a table that displays the details of the Department. We will build a dynamic pie chart to display the employee details for departments that are displaced from the Department table. Please check below blog.

    https://blogs.Oracle.com/ADF/entry/dynamic_pie_graph_generation_by

    Thank you

    Amey

  • How to get the sum of the first row in the previous row?

    Dear gurus... I need to get the sum of a column of the first row of my result set to the previous line based on a condition. I read analytical functions for this but they provide the sum of the first rank to Current Row through declaration "rows between Unbounded preceding and current line. Y at - it a statement that calculates the sum as "rows between Unbounded preceding and previous row?

    Hello

    kamranpathan wrote:
    Dear gurus... I need to get the sum of a column of the first row of my result set to the previous line based on a condition. I read analytical functions for this but they provide the sum of the first rank to Current Row through declaration "rows between Unbounded preceding and current line.

    If you do not explicitly give a windowing clause, then you get the default windowing clause you indicated.
    If you want another clause of windowing, ionclude in the analytic function call.

    Y at - it a statement that calculates the sum as "rows between Unbounded preceding and previous row?

    Yes. The correct syntax for "Previous rank" is «PREVIOUS 1»

    ...  ROWS BETWEEN  UNBOUNDED PRECEDING
                AND        1          PRECEDING
    

    For more information, search for "Analytic Functions" in the manual of the SQL language:
    http://download.Oracle.com/docs/CD/E11882_01/server.112/e17118/functions004.htm#sthref917

    I hope that answers your question.
    If not, post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all tables and also post the results desired from these data.
    Explain, using specific examples, how you get these results from these data.
    Always tell what version of Oracle you are using.
    You will find the answers better faster if you always provide this information whenever you post a question.

    Published by: Frank Kulash, Sep 17, 2011 17:04
    I just saw Etbin responses.
    As usual, Etbin has a good point. If the column that you are basically cannot be NULL, then it is probably easier to subtract the total current line and use the default windowing clause.
    Even if it can be null, you find may be easier to use this approach.

  • Hide the first row of a table

    Hi all

    Can only hide the first row of a table (no matter what that data as there are)

    Thanks in advance,
    Imtiaz.

    Use

Maybe you are looking for

  • Portégé R600-102: what SSD for upgrade?

    Hello everyone. I want to upgrade my SSD the real 128 GB to a bigger: what are the specifications for the new SSD to work? Should what interface have? What physical dimensions? Any help will be appreciated. TIA,Flavio.

  • Satellite A30: For those inventive keyboard problem

    Hello My problem is that I spilled juice on my Satellite A30. Since MN then. keys on the keyboard do not respond. I think it has to do with the fact that the juice having disappeared left a sort of insulation under the buttons. I wonder if anyone can

  • How can I remove the keyboard on a Ultrabook 4 want to upgrade RAM?

    How can I remove the keyboard on a Ultrabook 4 want to upgrade RAM? It doesn't seem to be any information available on how to get under the keyboard.

  • Pavilion HPE-180 t: Compatible replacement hard drive

    My Pavilion Elite HPE-180 t (p/n: BN515AV #ABA) began to crash randomly.  Software support tells me the HD is a failure.  Error code: BIOHD-2 The HD which came installed is a HITACHI HDS721010C.  Operating system is Windows 7 (64-bit) I did not rush

  • HP envy 14-2090eo: Norton Internet Security causing BSOD

    Hi HP experts... The first time a bought a laptop, I have Norton Internet Security installed my antivirus preferred, but on this laptop, I have experienced the BSOD, when opening the software Norton Internet Security to access the user interface, and