Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Coding Submit Form Selections

New Here ,
May 10, 2016 May 10, 2016

I am trying to create two submit buttons on a course application form.

Applicants for courses must have supervisory approval, so button number one will send the complete PDF to their supervisor's e-mail as entered into the form earlier. Is it possible to mailto:SupEmail.rawValue?

Supervisor.png

For the second button, I then want the supervisor to complete the approvals section and submit the XML data from the form to a shared mailbox, and CC the applicant (also entered into the form). Not sure how to get the form to submit XML data with this menu.

Any help is appreciated! EDIT: I am using Adobe Acrobat XI Pro. Not above some light javascripting.

TOPICS
Acrobat SDK and JavaScript , Windows
433
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 10, 2016 May 10, 2016

Have you opened the Acrobat JavaScript console to see if there is any error?

Was this form created using Acrobat or LiveCycle?

You are using LiveCycle syntax to get the value of field for the email address?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 10, 2016 May 10, 2016
LATEST

My agency is no longer supporting our use of LiveCycle (due to the change in cost of a license when switching to DC) so I am trying to re-create a form I built in LiveCycle without being able to use LiveCycle. I can do some basic coding, but without LiveCycle to code these for me anymore, I don't always know where to put the codes (action, calculation script, document javascript, etc.) without a lot of google searching first, and I couldn't find an answer for this.

I haven't coded anything for these buttons yet - the screencap is the menu that comes up when I go Tools > Edit form > Properties > Actions and try to add a submit a form action. I know if I put mailto:my.name@agency.com it will send the form to a specfic e-mail, but I want it to pull the e-mail from a text field entered by the user.

Essentially:

Button 1) How do I get it to mailto:fieldvalueSupervisorEmail ?

Button 2) How do I get it to mailto:my.name@agency.com+CC:fieldvalueApplicantEmail as an .xml attachment?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines