a matter of simple syntax that I hope!

A few months ago, I got assistance by Jono (thank you) where the data in a cell of a table could be repeated it is in another table in my form. all other cells have been indepedant outside of a single cell.

The downside was that the first table could grow by clicking an add button - IE. It started with a single row, but could have more and the table cell which has been repeated should retain its individual content.

So, here's the code I used:

Form1. Review.reviewsub.reviewtable._planrow. Count = form1.plan.plansub.plantable._planrow.count;

vCol1 var = this.resolveNodes ("form1.plan.plansub.plantable.planrow [*] .wb");

vCol2 var = this.resolveNodes ("form1. Review.reviewsub.reviewtable.planrow [*]. "WB");

for (var I = 0; vCol1.length i < ; I ++) {

vCol2.item (i) .rawValue = vCol1.item (i) .rawValue;

}

It is placed in the onsave event of the table where the data is taken in and the cell it brings data in is called wb

It works a treat.

However, and I'm being really stupid here, I've now been asked to shoot in another cell of table data in the same table origin called "better." Problem is that if I simply repeat lines 2 and 3 of the code above it fire only in the 'better' cell data and not the "wb" cell more.

It is therefore a question of syntax - how lines 2 and 3 of the code of work for the TWO 'wb' and 'better' - I tried

var vCol1 = this.resolveNodes ("form1.plan.plansub.plantable.planrow [*] .wb","form1.plan.plansub.plantable.planrow [*] .better");

I tried

var vCol1 = this.resolveNodes("form1.plan.plansub.plantable.planrow[*].wb"), ("form1.plan.plansub.plantable.planrow [*] .better");

and a few others - as you can tell, my script is a bit fragile.

Someone at - it help him?



Tri-thought post it here so someone else can use if necessary.

The correct code is:

Form1. Review.reviewsub.reviewtable._planrow. Count = form1.plan.plansub.plantable._planrow.count;

var vCol1 = this.resolveNodes ("form1.plan.plansub.plantable.planrow [*] .better");

var vCol2 = this.resolveNodes ("form1. Review.reviewsub.reviewtable.planrow [*]. Better");

var vCol3 = this.resolveNodes ("form1.plan.plansub.plantable.planrow [*] .wb");

var vCol4 = this.resolveNodes ("form1. Review.reviewsub.reviewtable.planrow [*]. "WB");

for (var i = 0; i)< vcol1.length;="" i="" ++)="">

vCol2.item (i) .rawValue = vCol1.item (i) .rawValue;

vCol4.item (i) .rawValue = vCol3.item (i) .rawValue;

}

I confused me on the name of the variables - thought vCol directly related columns (they can be called nothing) - so actually I simply had to double up on the variables to ensure that the two cells in the original (vCol1 and vCol3) table cells have been mapped in the subsequent table (vCol2 and vCol4 respectively) cells

Tags: Adobe LiveCycle

Similar Questions

  • I am very new to dream. I created a simple site that worked very well. I tried SEO booster and was checking on things different (for example Goigle webmaster). I don't know exactly what I did, but now when I type in my site it says the Palestinian Authori

    I am very new to dream. I created a simple site that worked very well. I tried SEO booster and was checking on things different (for example Goigle webmaster). I don't know exactly what I did, but now when I type in my site it tells me that the page cannot be opened because it was redirected too many times...? Help, please!

    Let me add some details to the choice in the scenarios you have for the use of domains.

    The areas are to simplify all kinds of activities on the Internet for users. Instead of addressing your email to go to the software from e-mail server to a computer with the IP 113.78.59.238 number, users can simply run their mail to "hannah" @ "gmail.com" or go to the website to "gildedgraces.com". This makes things a lot easier for users, but requires a little more difficult techniques backstage, because Internet computers connected and hardware (servers, tablets, phones, refrigerators) have only single numbers, not names. So, how internet needs to know which computer manages all emails for "@gildedgraces.com", and where physically this site 'www.gildedgraces.com '? This is where the "Domain Name Servers" kick in. They maintain long lists of these domain names, with references to the IP numbers correct and up-to-date. In this way, technicians can also easily Exchange computers, servers, connections, where a site is moved to another host, or when a server suddenly collapses. These things will happen, things have to change. They want to update certain IP numbers in the list on the DNS servers. I have it?

    So in order to get a Web site running, you know where your domain registry database is guarded and kept safe, and where your Web site is physically located.

    Note the difference between DNS (or servers) and the service (or Web servers) throughout all the instructions and documentation.

    Now, have a look at this PDF that was returned by Brad, in his response above.

    The domain name can be registered at any domain provider and the registry itself is not always need to reside there. You could relegate (you might say "move" or move) the registry for the DNS to another provider (like BC) service. In such a scenario, he must tell the provider holding the credentials of your registry, to redelegate it in British Colombia. That's what the article 4 in the PDF file. And of course, BC DNS service can internally so all applications for this field to their own web server.

    You can also choose to keep your current domain provider maintains the registry, but that their DNS servers before any request of this area on the web servers of British Colombia, where your site is published. This is typically a necessity for registrations from non-American, since many extensions of national domains (such as .nl and .de) can be recorded by suppliers outside of this nation. So the registry simply cannot be moved to an American company (it's a legal thing). In such a situation, article 6 of the PDF comes into play, describing what BC would normally internally: to the domains of the physical location of the Web site.

  • Create a simple procedure that can be used to send emails

    Dear all, I would like to design a simple procedure that allows you to send emails... How can I go to do it. Please note, that I have a table called table_emp that contains the emails of employees there and their firstname, lastname, empid, username, email, username, Userid so
    Userid     FirstName         LastName            empid             Email                                      username            Manager 
    123        John                Adams                550                [email protected]                    jadams                    0
    124        Lisa                  Rain                   551                [email protected]                    lrain                        1
    125        Mesina              Ray                   552                 [email protected]                     mray                       1
    All will be greatly appreciated. Thank you

    You should use packages utl_smtp and utl_mail in your code for sending mails.

    Read the below links fo more information:

    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/u_mail.htm
    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/u_smtp.htm

  • Change keyboard shortcuts, use simple characters that are normally reserved for tool Control Panel

    I have a script that I use now that I want to replace the bar cropping tool,

    Can I deselect C for the use of the current culture in keyboard shortcuts. When I then go to menus keyboard shortcuts of applications, I am looking to replace the scripts files > "croptool.jsx" and select "C" and it won't let me not use it as it takes a combination of keys.

    Then I exported the keys and then open in Text edit.

    It seems straight forward, so I added the line up above the vanishing point.

    < command type='Dynamics' name='Script_CROPTOOL'>

    < Shortcut >C< / shortcut >

    < / order >

    < command type='Dynamics' name=' Vanishing Point '>

    < Shortcut >Cmd + Opt + V< / shortcut >

    < / order >

    Then when I load it. He worked in part. In this C now appears in the menu. So anyone know if I can get this working correctly? A little more code can be used to allow simple letters in the wok in "application menus.

    Matt

    Screen Shot 2016-06-01 at 11.46.12.png

    Under file > Scripts > Script event handler you can bind an Action or Script to an event.

    Select the tool crop could benefit, although I have not yet tested.

  • How can I get the UAC to ignore programs that I hope?

    Hello
    I have recently upgraded the hardware on my PC and that you have installed the new monitoring software provided with my motherboard. Now, every time I login, I am invited by the UAC for administrator password to allow this program to make changes to my computer. It's very annoying and frustrating!

    Is it possible to add this program to a list of "approved programs"?

    I read a lot of people have used the Task Scheduler in order to bypass the UAC, but it does not work for me since this program auto starts when connecting.

    The program in question is Asus AI Suite II.
    I am running Win7 Pro.

    TIA

    The Asus AI Suite II begins apparently via Windows tasks when you open a session. If you open the tasks, then you can assign a Windows account to the task instead of using the connected user.

    -or even more - simple

    1. open Windows task

    2 change the account for the tasks of Asus to the administrator.

    3. close the session

    4. connect

    5. enjoy.

    With the help of http://www.pcmech.com/forum/windows-os-support-vista-7-8/220918-uac-warnings-standard-user.html

  • How to create a simple so that the else statement

    I tried for hours to find out how a simple calculation to display text in a field that is based on what is selected in another drop-down list.  My first time doing so, I'm not sure what I'm doing wrong.  Here's what I have so far:

    get the value of the field doctor

    var doctor = this.getField("Physician").value;

    Display according to chosen doctor number

    if(Physician=1) event.value = 100;

    ElseIf (physician = "2") event.value = 200;

    ElseIf (physician = '3') event.value = 300;

    else event.value = 0;

    You have made the classic mistake of using the wrong operator in if statements. The operator if in JS is 'is' (or ' = '). '=' is the assignment operator.

    In addition, in the first statement, you compare the values of a number and later on a string. You must be more coherent.

    Then use this code:

    // get the value of the Physician field
    var Physician = this.getField("Physician").valueAsString;
    
    // Display Number depending on Physician selected
    if (Physician=="1") event.value = 100;
    else if (Physician == "2") event.value = 200;
    else if (Physician == "3") event.value = 300;
    else event.value = 0;
    

    See your code, however, I don't think that you need an if at all... This code should do the same thing:

    event.value = Number(this.getField("Physician").valueAsString) * 100;
    
  • Simple syntax question

    Hey everybody,

    I'm doing a match/replace with a template that contains special characters and run in syntax errors in a Flex 3 application. I want just the following regex to compile... (also replacing the html tags with "")

    value.replace(/</?\w+((\s+\w+(\s*=\s*(?:".*?"|'.*?'|[^'">\s]+))?)+\s*|\s*)/?>/g, "");

    On a side note, the pattern /<.*?>/g wouldn't work in cases where there are html entities between tags, 
    like so:
    
    <TEXTFORMAT LEADING="2">
    <P ALIGN="LEFT">
    <FONT FACE="Arial" SIZE="11" COLOR="#4F4A4A" LETTERSPACING="0" KERNING="0"><one</FONT>
    </P>
    </TEXTFORMAT><TEXTFORMAT LEADING="2">
    <P ALIGN="LEFT">
    <FONT FACE="Arial" SIZE="11" COLOR="#4F4A4A" LETTERSPACING="0" KERNING="0">two</FONT>
    </P>
    </TEXTFORMAT>
    
    The first regex would get both "<one" and "two", but the second would only get "hi"

    Thank you!

    L stabby

    This one works for me:

    value. Replace(/<\ \w+((\s+\w+(\s*="\s*(?:" .*?"|'.*?'|[^'""="">\s]+))?) +\s*|\s*)\/?>/g, "");

    (Same as yours, but hot escaping the /)

    Are < and=""> special characters can only be between tags? [in this case, even if /<.*?>/g wouldn't work, able to /<><>] *? > / g be enough?

  • Create a simple form that sends an email with the data

    I am creating a form of simple command for our Web site that allows people to fill out their name and address and have these data by e-mail to me.  I'm familiar with Dreamweaver, but have never looked into this kind of thing before.  I've read several tutorials on the use of PHP script to do this and he's going to 'confirmed' url after clicking on send, but I never have the e-mail.  Our site is hosted on GoDaddy.

    Could someone guide me through this process, or at least point me in the right direction?

    Thank you.

    Here is a link to a video tutorial that can help.

    http://www.Tutvid.com/tutorials/Dreamweaver/tutorials/phpFormHandler.php

  • Verrrrrrry simple example that fails

    Hi all

    I'm learning flash and try to figure out how to do something extremely simple. You know, crawl before you walk!

    Here's the situation. I needed to build a movie with a static background who has a piece of text melted upward, hold for x seconds, then fades out, then a different song text melted upward, hold for x seconds... etc. Thanks to Urami, I could get past using several scenes for each text segment. HOWEVER, I ended up having to first create the text in Photoshop as a GRAPHIC and import them into the library.

    See the final result in the: http://www.songseeds.com/miracleMAX/long_distance/reviews/index.html

    Armed with the knowledge that I gained from the construction of this film, I want to simplify the process of entering text directly in Flash (eliminating the need to make a graph in an external program first).

    So, I created a new flash project and open my work with successful film I could compare what I had done.

    I created a symbol called clip_01 with keyframes at 1, 30 and 60.
    I have created a layer called fadein, entered the text in a field then timeline effects to fade towards the top of the chassis 1 to 30.
    I created a new layer called fadeout, put a text field in the 30 frame, then used timeline effects to fade out of the frame of 30 to 60.

    When I use the live preview, the text fades up then down and looks very good.

    So, back to my main movie, I create a layer named keyframe control in the frame1 and enter a stop control in actionscript so clip_01 has time to play.
    I create a layer called clip_01 and move my symbol of clip_01 (with the fadein text & out) on the stage.
    I create a layer named background and put my background.

    The difference of ONLY that I see between this and the movie I got works is that it uses a text field in Flash instead of using a chart, and I only have a scene at this point. I thought I would get this job just before adding others.

    When I test movie, there is NO fades! However, the live preview of my movie clip with the bland symbol looks very well!

    Is that what someone sees a flaw in this? I'm going nuts, I can't see what is wrong! Y at - it a bug using calendar with the text effects?

    Many thanks to those of you who help...

    Richard

    songseeds;
    Discoloration of the chronology of the text requires that the contours of the included characters
    in the SWF (in addition to her being placed in a symbol). I suspect that your
    text field is set to dynamic change - if so it "static" and avoid using a
    device fonts (those preceded by underscore in the list of fonts). -Tom Unger

  • Where can I find the syntax that uses the flashes?

    I'm looking for examples on the typing of the criteria because if / then of statements, loops, etc. Such things as the way of typing "or" (|) and the way of saying ' not equal to ', etc..

    I do not really help files in CS4... it is almost impossible to find something in them :-(

    Thank you.

    Dave

    If search you "operators" in the help documentation and select the entry for this name, you will find a table with all the items you're looking for.

    I don't have CS4 and have heard the horror stories about what they did with the help files for which is utilitarian, but I hope that they contain the same information that CS3 provides.

  • Why can't have an option no matter what new tab that opens either in a window? (aka without navigation)

    for example. I put the search bar to open in a new tab, why can I not open in a new window? Why don't I have an option to use windows only? 1 tablet is 1 window. Why fascism? Why why why?

    < / rant >

    Thanks in advance for the help. Please take my rage like being lulzworthy...

    There is a named tab killer extension that allows you to do this. The official source has not been updated for a while, so I posted a updated version. The background is in this thread: How can I completely disable tabs?

    I don't like back in time in this way, but if you do, then here is the link:
    http://jeffersonscher.com/RES/github_tabkiller-2.0.2009110201-versbump.xpi (Download, then drag a window to install)

    Please note: when you load this extension and restart Firefox, inactive tabs in windows before restarting disappear. So be sure that you are not left waiting for work.

    After installation, go here for new default tab to new window (otherwise it will prompt you each time):

    Firefox orange (or the Tools menu) button > addons > Extensions category

    Click on the button Tab Killer Options (see image).

  • When I try to charge my ipad since the if please, but by simple answers that I am not computer.

    When I try to charge my Ipad to the wall outlet, it will not load, can someone help me please, but with simple answers step by step because I'm not computer literate.

    it to plug the laptop or pc?

  • How did edit a simple video that I took with my Xperia Z3z from Verizon?

    Hello

    I did it and I can't for the life of understand me HOW I did.

    I edited 2 videos - that I belonged the median slow-mo. A I trimmed of superfluous parts of the video. I have these videos on my phone as MP4s, so I know I'm not nuts.

    I remember juggling videos to change. HOW I did this. I tried it again all over the place and don't remember what I did.

    I'm almost 100% certain I have not used this Movie Creator thingie that came on the phone.

    I think I didn't use any specific application at all.

    I even considered the located you can make edits to videos just after taking the images opening upward when the file is still in the folder DCIM/100ANDRO in the file system, but this is not the case either.

    Help, please!

    @Chrissy_Edmonds

    If you want to edit videos, it is how

    http://support.sonymobile.com/global-en/xperiaz3/Userguide/editing-videos-with-the-movie-creator-app...

  • Anything obvious that I hope

    Well, I feel stupid for having to ask this - but I don't see how to set permissions for approval to test in a simulator (so far the 9700 and 9800).

    I refer to the application list, select my application, and press the Menu key.

    On my physical device, I see the option "change permissions".

    On simulators, I see only "edit default permissions".  "Change permissions" is absent.

    I feel as if I had something painfully missing, glaring - but I'm just not see it.    -How do I add/delete permissions to the app on the Simulator, so that I can test my application that behaves correctly in the absence of permissions of devices?

    A few photos to show better. In all cases, the same application is selected.  The first is the Simulator; and the second is the real device.

    9800 / OS6 / Simulator

    9800 / OS6 / real device

    Indeed, it is obvious--or the less almost obvious.

    When you run the Simulator, it is necessary to activate the safety of the device.   Via Eclipse, this is done in the Simulator run configuration tab; There is a checkbox 'enable peripheral security '.

    If you use in the batch file, modify the command line to fledge.exe and add the indicator:

    / secure

  • How to view several documents/tabs in the window 1/itself. MDI or SDI. No matter what. simple question.

    Answer him in response. Short and sweet. I don't want or need to hear stories. Here is an example. Click here, click here, then click here - done. If you are unsure please keep your closed mouth/typing. Please! What version? This one (MUI 10.1.16) and no, I don't know wtf is MUI. This is the latest version in January 2016. Once again, for the love of God, if you do not have a solution please be quiet. But if you do, please keep it short and simple AND I thank you in advance! = D

    Hi Greg,.

    View by tabs is available in the CD player only not 10. So please download it here: Adobe - Adobe Acrobat Reader DC Distribution and installation.

    Setting of the display tabbed: go in Edition > Preferences > General

    Check the option "Open Documents as tabs in the same window (requires retstart).

    Click OK and restart

    Thank you

    Abhishek

Maybe you are looking for