Automatic row entry on fillable form.

Avatar

Avatar
Validate 1
Level 1
lisag82835114
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
lisag82835114
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
lisag82835114
Level 1

09-12-2016

What are the instructions:  I am creating a form.  I have a text field and two drop downs next to it.  I would like it if the person who is completing the form could just enter and a new line will add automatically.  Is this possible?

Accepted Solutions (0)

Answers (3)

Answers (3)

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

12-12-2016

Hi,

If I understand correctly you have fields on a row and you want to detect the enter key being pressed?  Pressing the enter key will fire the exit event of the field, in the exit event you can test for the enter key (as opposed to the escape key, tab key or using the mouse).

There is more information about the commitKey property in the reference Adobe LiveCycle ES3 * commitKey

Regards

Bruce

Avatar

Avatar
Validate 1
Level 1
lisag82835114
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
lisag82835114
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
lisag82835114
Level 1

12-12-2016

I am a little confused.  Where is the commitKey?  I have three text fields across.  Not sure if this will make a difference.

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

11-12-2016

Hi, Pressing the enter key will fire the exit event of the field with the commitKey property set to 2, so something

if (xfa.event.commitKey === 2)  {

    // code to add row

}