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

cordigital
cordigital
Offline

Badges

Badges
4

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
7

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by cordigital
Customize the badges you want to showcase on your profile
Re: Auto fill a textfield in subform - Adobe LiveCycle 10-01-2014
Awesome. Thank you so much!One more question. In my code, I create a new instance no matter which gender they pick....problem is if they make a mistake...new subForm gets created and throws everything off. How do I say "don't do this if you just did"?if Enrollment[3] exists?don't create again....

Views

128

Likes

0

Replies

0
Re: Auto fill a textfield in subform - Adobe LiveCycle 09-01-2014
HOLY CRAP!!!!That was it...I did not know that if something fails the script stops.....OH MY GOD!!!I put just this and it worked!!!!xfa.resolveNode("form1.Enrollment[1].lastname").rawValue = xfa.resolveNode("form1.#subform.Table1.Row1[1].last2").rawValue;JESUS a lot of time was wasted by not knowing the script would just STOP!!!Why did they do that?

Views

130

Likes

0

Replies

0
Re: Auto fill a textfield in subform - Adobe LiveCycle 09-01-2014
Yes...except row1. I can't change it either or I don't know how. Row1Row1[1]Row2Row3Row4etc....

Views

130

Likes

0

Replies

0
Re: Auto fill a textfield in subform - Adobe LiveCycle 09-01-2014
Here is my Enrollment subform....set up to have 6 instances.

Views

130

Likes

0

Replies

0
Re: Auto fill a textfield in subform - Adobe LiveCycle 09-01-2014

Views

130

Likes

0

Replies

0
Re: Auto fill a textfield in subform - Adobe LiveCycle 09-01-2014
For some reason, it does not work. The rows in the table are not dynamic, there are 6 of them. If they fill out the First Middle and Last names (called first1 for row 1, first2 for row 2...and so on) then the change event on the gender creates the instance of the form. This is the code on row 1var sNewSel = this.boundItem(xfa.event.newText);switch (sNewSel){ case "1": // Female Enrollment.firstname.rawValue = first1.rawValue; Enrollment.middlename.rawValue = middle1.rawValue; Enrollment.lastname...

Views

129

Likes

0

Replies

0
Auto fill a textfield in subform - Adobe LiveCycle 08-01-2014
Ok, so I have this table on page 1 of a form. I have a subform called Enrollment on page 4 of said form. I add another instance of Enrollment for every row filled in on the table on page 1. i.e. John Brown Grade 4 MaleJane Brown Grade 5 FemaleThe student's name gets populated in the instance of Enrollment that is visible because there is always one student. However, when I use scripting to create another instance of Enrollment, I can't get the student's names to populate(auto-fill) the names on ...

Views

954

Likes

0

Replies

10