Modify Submit button to pick up data fromLiveCycle form field

Avatar

Avatar
Level 1
veasnay51419317
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
veasnay51419317
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
veasnay51419317
Level 1

16-02-2019

When a user clicks on “Submit by Email” button, I would like to have at “Outlook subject” filled out using

Project number “data field on the form.(Project Number : 123)

How do I modify the “Submit by Email” button on a LiveCycle form?

Thanks, you so much

My Product Information:
Live Cycle Designer, Windows

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
MVP

17-02-2019

You can use variables to fill parameters of the mailDoc method with data from from fields.

var cTo = Textfield1.rawValue,

    cSub = "Put in your mail subject here...",

    cMsg = "Put in your mail message here...\n\nKind regards\n"; // \n is for line breaks

event.target.mailDoc({

bUI: false,

    cTo: cTo,

    cSubject: cSub,

    cMsg: cMsg,

    cSubmitAs: "PDF"

});