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
BedrockMission!

Learn More

View all

Sign in to view all badges

How to retrieve data from fields from more than one row to be included in body of email

Avatar

Avatar
Level 1
Willie2013
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Willie2013
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
Willie2013
Level 1

10-06-2015

I currently have a form that when submitted certain data from certain fields is displayed within the body of the email.

I have an area where the user can enter information on more than one individual by clicking ADD.  The ADD option when click will display another similar entry block for the individual's information to be entered.  However, if I enter information for more than one individual it only gets the information for the first block of information entered.

Currently, my event.target.submitForm contains the code to retrieve the data I need...

event.target.submitForm({cURL:"mailto:dice@info.edu?subject=D.I.C.E. Submission Form&body=ACTIVITY LOCATION: "+LOCATION.rawValue+ "%0D%0AINCIDENT DATE: "+INCIDENT_DATE.rawValue+ "%0D%0AINCIDENT TIME: "+INCIDENT_TIME.rawValue+ "%0D%0A%0D%0AINCIDENT INFORMATION NARRATIVE: "+COMMENTS.rawValue+ "%0D%0A%0D%0ASUBMITTER: "+SUBMITTER.rawValue+ "%0D%0ASUBMITTER_PHONE :"+SUBMITTER_PHONE.rawValue+ "%0D%0A%0D%0ASUBJECT INFORMATION%0D%0ALAST: "+CEB_DICE_NAMES.CEB_DICE_NAMES.LAST.rawValue+ "%0D%0AFIRST: "+CEB_DICE_NAMES.CEB_DICE_NAMES.FIRST.rawValue+ "%0D%0ACASINO EMPLOYEE: "+CEB_DICE_NAMES.CEB_DICE_NAMES.CAS_EMPLOYEE.rawValue+ "%0D%0AGENDER: "+CEB_DICE_NAMES.CEB_DICE_NAMES.SEX.rawValue+ "%0D%0ADATE OF BIRTH: "+CEB_DICE_NAMES.CEB_DICE_NAMES.DOB.rawValue,cSubmitAs:"PDF",cCharset:"utf-8"});

I need to code it so it knows to check for more than one individual being entered.

Accepted Solutions (0)

Answers (3)

Answers (3)

Avatar

Avatar
Boost 3
Level 1
jsanborn58
Level 1

Likes

3 likes

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Boost 3
Level 1
jsanborn58
Level 1

Likes

3 likes

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Boost 3
Boost 1
Affirm 1
View profile
jsanborn58
Level 1

10-06-2015

If you're new to coding and LiveCycle, you might want to start here:

LiveCycle Help Content | Adobe Developer Center

Avatar

Avatar
Level 1
Willie2013
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Willie2013
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
Willie2013
Level 1

10-06-2015

I am sort of new to coding - what do you mean create a table?  Will that require that I redesign the form?

Avatar

Avatar
Boost 3
Level 1
jsanborn58
Level 1

Likes

3 likes

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Boost 3
Level 1
jsanborn58
Level 1

Likes

3 likes

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Boost 3
Boost 1
Affirm 1
View profile
jsanborn58
Level 1

10-06-2015


It looks like you need to create a table, then retrieve the multiple rows of data.