sergiy2511
Community profile sergiy2511 Level 2
Job title here
Location here
4 BADGES
Level 2

Level 2

Learn more
Joined the community 02-09-2015 4:26:15 PM
Offline
Top badges earned by sergiy2511
Customize the badges you want to showcase on your profile
Re: Change event of dropdown not working in new instance.
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Hi, so basically what you need is to check the instance number of your Main.tblPartV.Row1 and then reference your Main.sfAccount with that number using resolveNode. Your key to this is .instanceIndex. So if your ddType is located under the Main.tblPartV.Row1, your code will look something like this:var row_counter = this.parent.instanceIndexvar ddType_selection = this.rawValueif (ddType_selection == "Individual"){xfa.resolveNode("Main.sfAccount[" + row_counter + "].Individual").presence = "visib...

Views

1.4K

Likes

0

Replies

0
Re: Number of new instances not showing in repeating sub-form...
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Hi again and thank you so much for your kind words. I wish I could give you a meaningful explanation, but unfortunately I can't, because I was also learning this stuff by browsing through forums and asking for support from knowlegeable users I think there's some referencing rules, which you can investigate on the JavaScript DOM subject, which may bring more light for you on this concept.Otherwise, let me know if there's anything else I could help you with

Views

1.4K

Likes

0

Replies

0
Re: Number of new instances not showing in repeating sub-form...
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Hi, I think the easy way you may try is to reference your objects starting with subform you're in. So instead of form1.Main.sfCorp.tblCorpName.Row1.instanceManager.setInstances try sfCorp.tblCorpName.Row1.instanceManager.setInstances.Also, just sharing my experience, for the scenarios like you describe it's easier to just code the button within your multiple instances table that would add a row (or set of fields). That way user can manipulate the instances number easier. And you probably want to...

Views

1.4K

Likes

0

Replies

0
Re: Generating a form from XML data - Need to take values populated in one table to create another table
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Hi, so basically once your first table is created you need to loop through its rows and for every row that meets your condition you are creating the new row in the Table B. You can do it by accessing the .instanceManager of the row in table B. Then once the row is created you can use xfa.resolveNode to pass values from table A to Table B. Your last row of the table B may be identified by the .count property that returns your current number of rows in table B.Let me know if you'll need more detai...

Views

1.1K

Likes

0

Replies

0
Re: LiveCycle 11 Locking Date Time Box from changing
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Hi Chuck,by 'injecting' I meant this line in your code:TIMB1.rawValue = Concat(Num2Date(date(), "M/D/YYYY "), "@ ", Num2Time(time(), "HH:MM:SS"));That's how I assume you put the date and time stamp into the field, right?So in FormCalc, you could write something like this to make it conditional:if (TIMB1.rawValue eq null) thenTIMB1.rawValue = Concat(Num2Date(date(), "M/D/YYYY "), "@ ", Num2Time(time(), "HH:MM:SS"));endifThis code will place the date/time just once, when that field is empty. Once ...

Views

1.3K

Likes

0

Replies

0
Re: LiveCycle 11 Locking Date Time Box from changing
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Hey Chuck, perhaps you can inject the date time field conditionally, only when that field is empty? That way the date time stamp will be applied just once.Hope it helps.

Views

1.3K

Likes

0

Replies

0
Re: Javascript code for submit email based on dropdown selection
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Switch syntax would look something like below:switch (this.getField("County").value) { default: recipient_email = "default@always.com"; break; case 'county_a': var am_email = "info@countyA_am.net" var dsm_email = "info@countyA_dsm.net" if (am_email == ""){recipient_email = dsm_email} else{recipient_email = am_email} break; case 'county_b': var am_email = "info@countyB_am.net" var dsm_email = "info@countyB_dsm.net" if (am_email == ""){recipient_email = dsm_email} else{recipient_email = am_email} ...

Views

1.4K

Likes

0

Replies

0
Re: Getting data from dynamic table to email body with Javascript
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Morning,first thing I would do is to move your var emailBody = "Attached..." after the tableData loop. Also, if that doesn't help, please let me know if you're getting any error messages in your JS console.

Views

989

Likes

0

Replies

0
Re: Javascript code for submit email based on dropdown selection
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Hey, using the model of the email script from a nearby post​ you would need something like belows:var recipient_email = "default_email@this_could_be_empty.too"var county = this.getField("County").valueif (county == "county_A"){recipient_email = "info@countyA.net"}else if(county == "county_B"){recipient_email = "info@countyB.net"} //...repeat for every county's email, you can use switch syntax if preferred.try { myDoc.mailDoc({ bUI: false, cTo: recipient_email, cCC: "Email Addresses", cSubject: s...

Views

1.4K

Likes

0

Replies

0
Re: Getting data from dynamic table to email body with Javascript
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Hi, you would need to use looping to read the data from your table, something like this:var tableData = "" //prepare your variable to collect table datafor (i=0; i < Row.instanceManager.count; i++){ //for every row starting from 0 to the last one in your tabletableData = tableData + this.resolveNode("Table.Row[" + i + "].Column1.rawValue + " " + this.resolveNode("Table.Row[" + i + "].Column2.rawValue + " " + this.resolveNode("Table.Row[" + i + "].Column3.rawValue + "\n"; //collect the data from ...

Views

980

Likes

0

Replies

0
Re: Trouble with mandatory fields in subforms with .presence = "inactive";
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Hi, it looks like you need to modify the scripts controlling the optional subforms appearance. When your logic shows the subform, make your fields in this subform required by adding something likeField.mandatory = "error"; - to make mandatorywhen your condition is hiding the subform, addField.mandatory = "disabled"; - to make optionalI hope it helps.

Views

813

Likes

0

Replies

0
Re: Table pagination
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Make sure you have a flowed page subform so it can actually flow to the next page. If you want to have a page break within the cell of the row, you need to make sure that content break is allowed for cell, and for all parent objects too

Views

753

Likes

0

Replies

0
Re: Subform Instances are Not Retained After Saving
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Thank you for sharing it, my bet is that cause for your trouble is missing Data nodes in your scheme file.See how your next piece of multi-instance subforms has specific node connection, while it's totally missing in S11 part:I hope it will help to solve the issue.

Views

1.3K

Likes

0

Replies

0
Re: Subform Instances are Not Retained After Saving
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Can you share your form?

Views

1.3K

Likes

0

Replies

0
Re: PDF file made by Adobe Livecycle Designer - how to edit?
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
No, there are no MacOS versions of LiveCycle Designer.

Views

1.9K

Likes

0

Replies

0
Re: PDF file made by Adobe Livecycle Designer - how to edit?
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
You may want to check out this post LiveCycle Blog: AEM Forms Designer Demoversion//AEM Forms Designer Trial

Views

1.9K

Likes

0

Replies

0
Re: Maintaing the position of a table on a form as it flows to subsequent pages.
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Can you make your text field as a first column of your table? Or you can even add two columns on the left side, one being your text field and second for spacing to separate it from the table columns

Views

720

Likes

0

Replies

0
Re: Calculate Script
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Thank you for sharing these, unfortunately I don't see the objects tree on your screenshot. It should appear on the left side if you click Shift+F11. You are also welcome to share your form (if possible) so I can check into it.We'll definitely solve that issue

Views

777

Likes

0

Replies

0
Re: Calculate Script
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Can you share a screenshot of your objects tree and your script, please?

Views

794

Likes

0

Replies

0
Re: "CC" an Email Address Based on Radio Button Selection
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
Hi, you need to conditionally determine your vCC variable, after your var vCC = ""; put something like this:if (your condition){vCC = "email@youwanttobe.ccd"}

Views

920

Likes

0

Replies

0
Re: livecycle install failure
Avatar
Applaud 5
Level 2
sergiy2511
Level 2

Likes

0 likes

Total Posts

21 posts

Correct reply

6 solutions
Top badges earned
Applaud 5
Affirm 5
Affirm 3
Affirm 1
View profile
sergiy2511
- Adobe LiveCycle
is there any solution to this issue? I'm experiencing the same behaviour and reinstalling didn't help. I did the System File Checker, it found some errors, but it helped nothing. Please share the solution.Kind regards,Sergii.

Views

926

Likes

0

Replies

0