Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

ubolrat
ubolrat
Offline

Badges

Badges
8

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
26

Discussions

Discussions
0

Questions

Questions
9

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by ubolrat
Customize the badges you want to showcase on your profile
Re: Loop through table (beginner question) - Adobe LiveCycle 04-04-2013
Thank you so much And if I would like to limit the loop I write as follows?for (var a=0;a<10;a++){ if (Row.item(a).Cell1.rawValue!==null) Row.item(a).Cell2.fontColor = "255,0,0"; else Row.item(a).Cell2.fontColor = "0,0,0"; }Thanks again./ AndersSweden

Views

173

Likes

0

Replies

0
Loop through table (beginner question) - Adobe LiveCycle 02-04-2013
Hello,I been reading and reading but can´t seem to do what I want to do.I do a lot of forms in Livecycle but can´t seem to understand even the most easy loop.Lets say I have a table with two columns and ten rows. Textfields in column A is called Cell1 and in column B Cell2.I want to look through all the rows for this:If(Cell1.rawValue !== null)Cell2.fontColor = "255,0,0";elseCell2.fontColor = "0,0,0";If anyone can help me with this I would be very happy. Mayvbe I can start to understand this sin...

Views

803

Likes

0

Replies

2
What number will this page get? - Adobe LiveCycle 18-02-2013
I have a problem.I have a table and depending what I choose, for example weeks a protocoll will be filled.I have one instance but set it to 2 so i will be repeated so I can wite preety same java script but just change the number of the page.However, when I preiview my form it doesnt work.My first page is called.page1[0]then the page that will be repiated is calledpage 1[1]if(this.rawValue === "1-4"){xfa.resolveNode("Page1[1].Page1.TextField2").rawValue = "1";xfa.resolveNode("Page1[1].Page1.TextF...

Views

275

Likes

0

Replies

0
Untdeterminated string constant - Adobe LiveCycle 27-07-2012
I try this script from assure dynamics (http://www.assuredynamics.com/wp-content/uploads/2011/06/Assure-Dynamics-Validate-form-on-preSave-event.pdf)if (form1.execValidate() == false){xfa.host.messageBox("You have not completed the mandatory fields. Please return to theform and complete all fields marked with a *. \n\nThank you!", "Formis incomplete", 0, 0);}But I get this warningUntdeterminated string constant

Views

429

Likes

0

Replies

1
Loop in Table with add/delete Rows? - Adobe LiveCycle 24-07-2012
Im going to make a dynamic table where one type of user can add and delete rows. The other type of user will have a great interest of sorting the table by data and color.So how do I write the script.The script should look what the user choose in a drop down box and if the row contain that data the row will be visible else hidden.What Iw ant to know is how to make a loop for this? To look through all the rows for machng data. The data will always be in the same textfield in the rows.

Views

894

Likes

0

Replies

1
Re: Help with script - Adobe LiveCycle 17-07-2012
Ok I found the solution by a andom misstake. I forgot to wite that is Textfield1 is !== and TextField2 is === on another row.Thanks again man for your help.

Views

117

Likes

0

Replies

0
Re: Help with script - Adobe LiveCycle 16-07-2012
Thanx.I get a syntax error refering to the }. If I delete it the first part work but not the elseif.I add this code to the click event on a button and that should wok fine I think. Since the first if part works./ Anders

Views

115

Likes

0

Replies

0
Help with script - Adobe LiveCycle 16-07-2012
Anyone know why this not working?if(Table1.Row1.TextField1.rawValue !== null){xfa.resolveNode("Table1.Row1[1].TextField1").rawValue = Table1.Row1.TextField1.rawValue}else if(xfa.resolveNode("Table1.Row1[1].TextField1").rawValue !== null)xfa.resolveNode("Table1.Row1[2].TextField1").rawValue = Table1.Row1.TextField1.rawValueWhen I click a button I want the value from field1 row 1 to be entered in field 1 row 2. That works.And if field 1 row 2 to is already filled I want the value from field1 to be...

Views

821

Likes

0

Replies

4
From field to field with the arrow keys? - Adobe LiveCycle 10-07-2012
Im almost finished with my form and now just looking at the layout.However, is it possible for the filler to use the arrow keys on the keyboard in any way?/ Anders

Views

407

Likes

0

Replies

1
Re: if´s and exit event - Adobe LiveCycle 03-07-2012
Hey thanksI played around with yur idea and I got it to work if I write if textField8 === null && textField 8 o2 to and so on in the textField.And the same with the read only.Then it works like I want.The only strange thing now is that when I add a new instance on the next page it does not show alternative row shading. But hey, Im lucky anyway Thanks so much for your help.

Views

254

Likes

0

Replies

0